Classes
Inheritance
Polymorphism
Java Basics
Classes & Objects
100

This is a blueprint for creating objects in Java.

What is a class?

100

This concept allows a class to acquire properties of another class.

What is inheritance?

100

The ability of a method to have many forms.

What is polymorphism?

100

This refers to the current object.

What is this?

100

This keyword is used to refer to the parent class object.

What is super?

200

This keyword is used to create an object.

What is new?

200

Keyword used to inherit a class in Java.

What is extends?

200

Same method name with different parameters.

What is method overloading?

200

Default access modifier in Java.
 

What is default?

200

This keyword is used to prevent a variable from being modified after initialization.
 

What is final?

300

An instance of a class is called this.

What is an object?

300

The parent class is also known as this.

What is superclass?

300

Same method in subclass with same parameters.
 

What is method overriding?

300

A class can have multiple of these.

What are constructors?

300

keyword allows access to parent class members when they are hidden.

What is super?

400

This method is automatically called when an object is created.

What is a constructor?

400

This keyword is used to call the parent class constructor.

What is super()?

400

Clue: Runtime polymorphism is achieved using this.
 

What is method overriding?

400

Feature that hides internal details.
 

What is abstraction?

400

This concept restricts inheritance to improve security and control.
 

What is use of final class?

500

This concept wraps data and methods together.

What is encapsulation?

500

This type of inheritance is not supported in Java (with classes).
 

What is multiple inheritance?

500

Compile-time polymorphism is also known as this.

What is method overloading?

500

OOP feature NOT related to Java concepts here.
 

What is compilation?

500

This type of inheritance involves a chain of classes.
 

What is multilevel inheritance?

M
e
n
u