| | Class- Encapsulates
contains - Instance
Kevin is an instance of Person - Abstraction
Hide the complex details to the users of the object - Hidden & Exposed
Only allow the user access to what they need - Inheritance
Create one class from another - Derived Class
inherites from base class - Base Class
attributes and methods shared by it's "children" - Polymorphism
same instruction to be carried out differently depending
on the object A dog makeNoise( ) would bark, while a cow makeNoise( ) would
moo
|