![]() ![]() It is necessary that the class must implement all the methods declared in the interfaces.ģ) Class should override all the abstract methods declared in the interface.Ĥ) The interface allows sending a message to an object without concerning which classes it belongs.ĥ) Class needs to provide functionality for the methods declared in the interface.Ħ) All methods in an interface are implicitly public and abstract.Ĩ) An interface reference can point to objects of its implementing classes.ĩ) An interface can extend from one or many interfaces. ![]() While in Interface only one specifier is used- Public.Ģ) A Java class can implement multiple Java Interfaces.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |