What is Inheritance

**Inheritance** is one of the fundamental concepts of **Object-Oriented Programming (OOP)** in Java. It allows a class to inherit **properties and methods** from another class, promoting **code reusability**.

What is a Constructor

A **constructor** is a special method in Java that is used to initialize objects. It is automatically called when an object is created.

What is Polymorphism

Polymorphism in Java allows a single **interface to be used for multiple forms**. It enables flexibility and scalability in object-oriented programming.

What is Abstraction

Abstraction is the process of **hiding implementation details** and showing only **essential features**. It is one of the fundamental concepts of OOP.

What is Encapsulation

Encapsulation is the process of **hiding the internal details** of an object and only exposing necessary parts. It is achieved using **access modifiers**.