Inheritance
Encapsulation
Polymorphism
Compilation
Compile time polymorphism
Execution time polymorphism
Multiple polymorphism
Multilevel polymorphism
At run time
At compile time
At coding time
At execution time
Abstraction
polymorphism
All of the above
Multiple inheritance for classes
multiple inheritance of interface
compile time polymorphism
method overriding
method overloading
constructor overloading
operator overloading
Hiding complexity
Method hiding
Hiding constructor
None
Wrapping data fields with methods
Hiding data and internal methods using access modifiers in a class
Using Interfaces
Data hiding
Composition
class Cat extends Animal
class Animal extends Cat
Both are correct way
None is correct way
Function overriding
Function overloading
Compile time
Run time
Both
Procedure Oriented Programming
Modular Programming
Object Oriented Programming
None of these
. (dot)
+ (plus)
– (minus)
/ (divide)
public
default
Both a and b