• Implementing an interface allows a class to become more formal about the behavior it promises to provide
• Interfaces form a contract between the class and the outside world, and the contract is enforced at build time by the compiler
• If a class implements an interface it must implement all the methods the implemented interface defines
• All the methods and properties defined in Interface are by default public and abstract
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment