Skip to interview prep
Apexed

11. What are the core principles of object-oriented programming?

EasyProgramming fundamentals

Technical

Type or dictate your answer. Your draft is saved on this device.

Show model answer

Encapsulation hides internal state behind methods. Abstraction exposes only what callers need. Inheritance lets a class reuse and extend another. Polymorphism lets code work with different types through a shared interface.

Strong answers add that composition is often preferred over deep inheritance because it keeps classes loosely coupled.

What are the core principles of object-oriented programming — Software engineering interview question — Apexed