Vidyalelo
Java Programming · Q85

Interfaces and Abstract Classes

Programming · Java Programming · question 85

Q85

Which of these methods returns the class of an object?

A.
getClass()
Answer
B.
Class()
C.
WhoseClass()
D.
WhoseObject()

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board