Object-Oriented Programming is a methodology of designing a program using classes, objects, inheritance, polymorphism, abstraction, and encapsulation.
- Private - can be accessed only in class
- Public - can be accessed outside of class
- Protected - can be accessed in derived class
Single, multilevel, hierarchial