This preview shows page 1. Sign up to view the full content.
Unformatted text preview: none can define the calculation of area. Q6. The interface enables a class to extend its behavior without affecting its own inheritance hierarchy. Besides, the interface defines a contract between server (who provides the service) and client (who use the service). Dependency can be reduced (decoupling) and implementation details can be hidden from users....
View Full Document
This note was uploaded on 04/20/2010 for the course ELECTRONIC EE3206 taught by Professor Tingchiwang during the Spring '10 term at École Normale Supérieure.
- Spring '10