Join Now
Home Aptitude Reasoning DI VA GK CA CA Hindi Quiz Placements
A class can inherit from multiple classes in Java.
A subclass can access private members of its superclass.
Constructors are not inherited in Java.
Inheritance is not supported in Java.
hashCode()
equals()
toString()
getClass()
To call a method or constructor of a superclass
To declare a superclass
To access a private field of a superclass
To override a method of a superclass
abstract
interface
implements
extends
final
static
private
Single inheritance
Multiple inheritance
Hybrid inheritance
Hierarchical inheritance
Multilevel inheritance
It can be used to access a static field of a class.
It can be used to call a method of a superclass.
It can be used to refer to the current instance of a class.
It can be used to declare a constructor.
override
none of the above