Java
Which meth ...
Site Language: English
Українська
English
Русский
Programming Tests
Login
Sign Up
Programming Tests
Theory
Snippets
Papers
Landing
Android
Prices
FAQ
Cosmo Story
Terms and Conditions
Privacy Policy
Cookies Policy
Send Feedback
Which methods are defined in the Object class?
public final Class<?> getClass()
public int hashCode()
public boolean equals(Object obj)
public String toString()
public final void notify()
None of listed
Explanation
All listed methods are in the Object class. Object is a class that is in the top of the class hierarchy, so every java class has these methods.
Object class
1
(1)
Like
Login in
to like
Comment
Login in
to comment
Share
Tweet
Related Content
Which of the following methods are defined in the Object class?...
What will happen when the following code is compiled and executed? ...
If finalize() method is overridden in a class, when will this method called for ...
What happens when the following code is compiled? publi...
Which of the following methods throws an exception InterruptedException?...
Check all methods the Object class contains....
J
ava
Quiz
Login to learn Java
or
Read more about
Java Quizzes
Follow CodeGalaxy
Mobile Beta
Send Feedback
Keep exploring
Java quizzes
What will be printed out as a result of the following code execution / compilati...
What will be printed out as a result of the following code execution / compilati...
What will be printed out as a result of the following code execution / compilati...
What will be printed out as a result of the following code execution / compilati...
int i = Integer.MAX_VALUE + 10; What is th...
What happens after the following code is compiled and run: ...
Sign Up Now
or
Subscribe for future quizzes
Login in to like
Login in to comment