What is an Interface?
Question : What is an Interface?
An interface is a collection of abstract methods. A class implements an interface, thereby inheriting the abstract methods of the interface.
An interface is a collection of abstract methods. A class implements an interface, thereby inheriting the abstract methods of the interface.