Latest Answer : Abstract class can have instance variable, static variable, constructor, abstract methods, concrete methods, instance blocks and static blocks.Subclass has to extend abstract class using extend keyword. ...
Latest Answer : Interface is used to define set of rules. Interface is a collectionof empty methods. It is solely used as a base class. Class which implents an interface need to provide the implemenation of the methods in the interface. ...
Latest Answer : Interface: In interface just signature of the methods are defined(means abstract meathod). there is no a single method which has body.e.g. void add();Abstract class: In a abstract class some method are abstract while some are concrete methods. we use ...
Latest Answer : Interface user for multiple inheritance in java. ...
Latest Answer : It is a null or marker interface,which has no methods. When a class implements this interface,it will be permanently stored in memory. ...
Latest Answer : The AppletStub Interface provides, communicate between an applet and the browser [or applet viewer].Programmer will not implement this interface. ...
Latest Answer : Abstract class contains both concrete methods and also abstract methods,whereas interface contains only abstract methods ...
Latest Answer : Hi, Interface helps to achieve the concept of multiple inheritance to an extent.A class an implement muliple interface but can extend only one class. ...