An interface specifies a type contract that independent classes can implement. Code accepting the interface can operate on multiple implementations, avoiding dependence on one concrete class. A class may implement several interfaces despite having only one direct class superclass.
// Destination: computer-science.bigb
Articles by others on the same topic
There are currently no matching articles.