Other Key Concepts
Abstraction
- Object -> something in the world
- Class -> objects
- Superclass -> subclasses
- Operation -> methods
- Attributes and associations -> instance variables
Modularity
- Code can be constructed entirely of classes
Encapsulation
- Details can be hidden in classes
- This gives rise to information hiding:
- Programmers do not need to know all the details of a class