Revature Interview Question

Described the 4 pillars of OOP.

Interview Answer

Anonymous

Jul 22, 2021

Polymorphism - objects can take on many form. Inheritance - class can inherit behaviors and fields from the super class. Abstraction - hiding implementation details from the user. Encapsulation - objects are in charge of managing there own states and behavior and no one from outside the object can change it.