2. What is an Object An Object is a instance of class. An Object has state, behavior and identity. Object Class The Object class is the superclass of Java. All other classes are subclasses of the Object class. The object class includes methods such as: clone() finalize() hashCode() toString() copy(Object src) getClass() notifyAll() wait()
Subscribe to:
Post Comments (Atom)
0 Comments:
Post a Comment