Interfaces
This lesson discusses interfaces, their implementation as well as multiple interfaces in detail
We'll cover the following...
Implementing an interface
An interface is used to enforce the presence of a method in any class that ‘implements’ it.
The interface is defined
with the keyword interface
and a class can ‘implement’ it by adding : InterfaceName
after the class name.
A class can implement multiple interfaces by separating each interface ...