Interfaces just like classes in Java, can be extended. A class implementing the outer interface must implement all the methods of the super class. A class implementing the sub interface must implement all the methods of sub interface as well as methods of super interface. If it fails to do so, compiler reports an error, that it should either implement the missing method or declare itself as Abstract.
Showing posts with label Extended Interface. Show all posts
Showing posts with label Extended Interface. Show all posts
Subscribe to:
Posts (Atom)