OOP summary
Here's a quick table summarizing the concepts discussed so far:
| 
 Feature  | 
 Illustrates concept  | 
| 
 Bob is a man (an object).  | 
 Objects  | 
| 
 Bob's date of birth is June 1, 1980, gender - male, and hair - black.  | 
 Properties  | 
| 
 Bob can eat, sleep, drink, dream, talk, and calculate his own age.  | 
 Methods  | 
| 
 Bob is an instance of the   | 
 Class (in classical OOP)  | 
| 
 Bob is based on another object called   | 
 Prototype (in prototypal OOP)  | 
| 
 Bob holds data, such as   | 
 Encapsulation  | 
| 
 You don't need to know how the calculation method works internally. The object might have some private data, such as the number of days in February in a leap year. You don't know, nor do you want to know.  | 
 Information hiding  | 
| 
 Bob is part of a   | 
 Aggregation and composition  | 
| 
 
  | 
 Inheritance  | 
| 
 You can call the methods   | 
 Polymorphism and method overriding  |