They're used to specify methods and properties that a derived class
will have access to.
will have access to.
- Like a contract. If a class implements an interface, the interface guarantees that the class contains specific methods specified.
- Interfaces DOES NOT contain code or data
No comments:
Post a Comment