What is a method object in Java?

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.

Leave a Reply

Your email address will not be published. Required fields are marked *