# OOP Concepts Interview Questions

> Four pillars, abstract class vs interface, SOLID, design patterns, LLD warmups, and tricky output questions.

Canonical: https://www.internhack.in/learn/interview/oop-interview
Last updated: 2026-11-28

Four pillars, abstract class vs interface, SOLID, design patterns, LLD warmups, and tricky output questions.

## 30 questions in this section

- [Class vs Object](https://www.internhack.in/learn/interview/oop-interview/oop-class-vs-object) (Beginner)
- [Four Pillars of OOP](https://www.internhack.in/learn/interview/oop-interview/oop-four-pillars) (Beginner)
- [Encapsulation and Data Hiding](https://www.internhack.in/learn/interview/oop-interview/oop-encapsulation) (Beginner)
- [Abstraction: Hiding Complexity](https://www.internhack.in/learn/interview/oop-interview/oop-abstraction) (Beginner)
- [Inheritance and Its Types](https://www.internhack.in/learn/interview/oop-interview/oop-inheritance-types) (Beginner)
- [Polymorphism: Compile-time vs Run-time](https://www.internhack.in/learn/interview/oop-interview/oop-polymorphism) (Beginner)
- [Constructors and Destructors](https://www.internhack.in/learn/interview/oop-interview/oop-constructors-destructors) (Beginner)
- [Method Overloading vs Overriding](https://www.internhack.in/learn/interview/oop-interview/oop-overloading-vs-overriding) (Beginner)
- [Access Modifiers in Java and C++](https://www.internhack.in/learn/interview/oop-interview/oop-access-modifiers) (Beginner)
- [this and super Keywords](https://www.internhack.in/learn/interview/oop-interview/oop-this-super-keywords) (Beginner)
- [Static vs Dynamic Binding](https://www.internhack.in/learn/interview/oop-interview/oop-static-vs-dynamic-binding) (Intermediate)
- [Abstract Class vs Interface](https://www.internhack.in/learn/interview/oop-interview/oop-abstract-class-vs-interface) (Intermediate)
- [static Keyword: Variables, Methods, Blocks](https://www.internhack.in/learn/interview/oop-interview/oop-static-members) (Intermediate)
- [Composition vs Inheritance](https://www.internhack.in/learn/interview/oop-interview/oop-composition-vs-inheritance) (Intermediate)
- [The Diamond Problem](https://www.internhack.in/learn/interview/oop-interview/oop-diamond-problem) (Intermediate)
- [Coupling and Cohesion](https://www.internhack.in/learn/interview/oop-interview/oop-coupling-cohesion) (Intermediate)
- [SOLID: Single Responsibility and Open/Closed](https://www.internhack.in/learn/interview/oop-interview/oop-srp-ocp) (Intermediate)
- [Liskov Substitution Principle](https://www.internhack.in/learn/interview/oop-interview/oop-lsp) (Intermediate)
- [SOLID: Interface Segregation and Dependency Inversion](https://www.internhack.in/learn/interview/oop-interview/oop-isp-dip) (Intermediate)
- [Singleton Pattern](https://www.internhack.in/learn/interview/oop-interview/oop-singleton) (Intermediate)
- [Factory Pattern](https://www.internhack.in/learn/interview/oop-interview/oop-factory-pattern) (Intermediate)
- [Observer Pattern](https://www.internhack.in/learn/interview/oop-interview/oop-observer-pattern) (Intermediate)
- [Strategy Pattern](https://www.internhack.in/learn/interview/oop-interview/oop-strategy-pattern) (Intermediate)
- [Builder Pattern](https://www.internhack.in/learn/interview/oop-interview/oop-builder-pattern) (Advanced)
- [Tricky Output: Field Hiding and Overload Resolution](https://www.internhack.in/learn/interview/oop-interview/oop-tricky-output-hiding) (Advanced)
- [Tricky Output: Initialization Order](https://www.internhack.in/learn/interview/oop-interview/oop-tricky-constructor-order) (Advanced)
- [Immutable Classes and equals/hashCode Contract](https://www.internhack.in/learn/interview/oop-interview/oop-immutable-equals-hashcode) (Advanced)
- [Design a Parking Lot (LLD)](https://www.internhack.in/learn/interview/oop-interview/oop-parking-lot-lld) (Advanced)
- [Design a Vending Machine or ATM (State Pattern)](https://www.internhack.in/learn/interview/oop-interview/oop-vending-machine-state-pattern) (Advanced)
- [Virtual Functions, vtable and Object Slicing in C++](https://www.internhack.in/learn/interview/oop-interview/oop-virtual-functions-vtable) (Advanced)

## Related

- [Learn](https://www.internhack.in/learn)
- [Interview Prep](https://www.internhack.in/learn/interview)
