Rabu, 27 Juli 2016

What is object class in java

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 is object class in java appeared first on Coding Security.


What is object class in java
read more

Tidak ada komentar:

Posting Komentar