Computer Science Fundamentals

Casual Mode - Take your time!

1 / 24
Correct
0
Incorrect
0
Score
0%
Multiple Choice

What is the role of getClass() method of the Object class in Java?

  1. This method is a final method that returns a runtime representation of the class of this object.
  2. This method returns a String representation of the object.
  3. This method compares two objects for equality.
  4. This method creates a clone of this object.
  5. None of the above
Change Mode