Notes for OOP primary principles
1 Encapsulation- Bundling of data-> prevent direct modification by other class entities.
2 Abstraction- Beautification purposes-> hiding complexity of code->simulate behiavour of interface in JAVA or C# in C++ using abstract class
3 Inheritance- base class->super,parent,derived class-> sub,child -->
4 Polymorphism- greek lang-> poly morph-> many forms, used parent class reference is used to refer an object of child class