Examveda

Which of these method of Object class is used to obtain class of an object at run time?

A. get()

B. void getclass()

C. Class getclass()

D. None of the mentioned

Answer: Option C


This Question Belongs to Java Program >> Inheritence

Join The Discussion

Related Questions on Inheritence

What is inheritance in Java?

A. The process of acquiring properties and behaviors of one class by another

B. The process of creating objects

C. The process of encapsulation

D. The process of overloading methods