In this article we will look at Object class which is the base class for all the classes in Java. We will learn about different methods in the Object class. In Java the base class or parent class or super class for all other classes is the Object class. This Object class provides the common functionality for all other objects. Object Class Methods Following are different methods provided by the Object class: clone() method This method is used to create a new object which is same as the object being cloned. Syntax of this method is as follows: Object clone() equals() method This method is
The post What are Object class methods in Java Programming appeared first on Coding Security.
What are Object class methods in Java Programming
read more
Tidak ada komentar:
Posting Komentar