sridher yamsani
sridher yamsani answered question
Abstract class may or may not contain abstract methods and it can't be instantiated. Even a class which is having all concrete methods can be declared as abstract class by using abstract keyword the main intention is to not instantiate the class only. Abstract method always doesn't have definition of the method it will have … Read more
sridher yamsani
sridher yamsani answered
Marker interface plays vital role even though it doesn't contain any methods.The main purpose is to identify the special objects from normal objects for example if you want to serialize an object then how you will inform to the JVM to serialize the particular object because there may be so many objects available in JVM. … Read more