AR Learn

Java interview questions

Java language and object-oriented programming questions.

Beginner

What is inheritance in Java?

Inheritance lets one class reuse and extend another class's behavior.

Read detailed answer