1.

When we call a constructor method among different given constructors. We match the suitable constructor by matching the name of constructor first , then the number and then the type of parameters to decide which constructor is to be overloaded.The process is also known as?

A. Method overriding
B. Inheritance
C. Polymorphism
D. Encapsulation
Answer» D. Encapsulation


Discussion

No Comment Found