Popular Tutorials
Start Learning JavaCertification Courses
Created with over a decade of experience and thousands of feedback.
Python online compiler
JavaScript online compiler
SQL online compiler
Java online compiler
HTML online compiler
C online compiler
C++ online compiler
C# online compiler
PHP online compiler
Swift online compiler
Kotlin online compiler
TypeScript online compiler
Go online compiler
Rust online compiler
Scala online compiler
Dart online compiler
R online compiler
Ruby online compiler
Java Object Methods
Java Object is the superclass for all the classes in Java. All the methods of Object class can be used by all the subclasses and arrays. The Object class provides different methods to perform different operations on objects. In this reference page, you will find all the Object methods available in Java. For example, if you need to get the class name of an object, use the getClasss() method.
returns the class name of the object
returns the hashcode value of the object
converts an object into the string
checks if two objects are equal
creates a copy of the object