Join Now
Home Aptitude Reasoning DI VA GK CA CA Hindi Quiz Placements
Method Overloading
Method Overriding
Both A and B
None of the above
void print(int a, int b)
int print(int a, int b)
void print(String s)
Compile-time Polymorphism
Run-time Polymorphism
Inheritance Polymorphism
override
super
final
extends
Code reusability
Improved performance
Strong typing
void print()
Animal animal = new Animal();
Animal animal = new Dog();
Dog dog = new Animal();
It is used to check if an object is an instance of a specific class or interface
It can be used with primitive data types
It can be used to compare two objects for equality
Method overloading
Method overriding
Operator overloading
this