Professional Documents
Culture Documents
abstraction
- hides the implementation details. It can be a prototype or a function. One can
just call the function without knowing what are behind the scenes.
encapsulation
- people refer to this as data hiding as it encapsulates or hides things making it
private. this limits what the people can access on your code which is a great
security measurement
inheritance
- by the word itself 'inherit', it lets an object acquire the properties and
methods of a parent object. This is to avoid redundancy.
polymorphism
- the ability of objects of various classes to be treated as objects of a common
superclass, which promotes reuse of code