This is a blueprint for creating objects in Java.
What is a class?
This concept allows a class to acquire properties of another class.
What is inheritance?
The ability of a method to have many forms.
What is polymorphism?
This refers to the current object.
What is this?
This keyword is used to refer to the parent class object.
What is super?
This keyword is used to create an object.
What is new?
Keyword used to inherit a class in Java.
What is extends?
Same method name with different parameters.
What is method overloading?
Default access modifier in Java.
What is default?
This keyword is used to prevent a variable from being modified after initialization.
What is final?
An instance of a class is called this.
What is an object?
The parent class is also known as this.
What is superclass?
Same method in subclass with same parameters.
What is method overriding?
A class can have multiple of these.
What are constructors?
keyword allows access to parent class members when they are hidden.
What is super?
This method is automatically called when an object is created.
What is a constructor?
This keyword is used to call the parent class constructor.
What is super()?
Clue: Runtime polymorphism is achieved using this.
What is method overriding?
Feature that hides internal details.
What is abstraction?
This concept restricts inheritance to improve security and control.
What is use of final class?
This concept wraps data and methods together.
What is encapsulation?
This type of inheritance is not supported in Java (with classes).
What is multiple inheritance?
Compile-time polymorphism is also known as this.
What is method overloading?
OOP feature NOT related to Java concepts here.
What is compilation?
This type of inheritance involves a chain of classes.
What is multilevel inheritance?