skyscanner4u said:
A ‘class’ is a software design which describes the general properties of something which the software is modeling.
Individual ‘objects’ are created from the class
design for each actual thing.
All the characteristics from classes above a class/object in the hierarchy are automatically featured in it – we call this inheritance.
Encapsulation allows us to consider what a light switch does, and how we operate it,
without needing to worry about the technical detail of how it actually works.
Bookmarks