Summary
In this lesson, we've learned:
- Classes are like structures, but with methods (functions) in addition to fields.
- Every object knows its class.
- To invoke a method on an object, send that object a message naming the method.
- The interface of an object is the set of messages to which it responds.
- Interfaces are data types.
We have also seen how to define interfaces, classes, and objects in Java.