Explain the methods of java.lang.object, JAVA Programming

Explain The Methods of java.lang.Object?

java.lang.Object gives a number of methods that are general to all objects. toString() is the most general such method. Because the default toString() method only generates the name of the class, you should override it in all classes you describe.

• public Object()
• public final Class getClass()
• public int hashCode()
• public boolean equals(Object obj)
• protected Object clone() throws CloneNotSupportedException
• public String toString()
• public final void notify()
• public final void notifyAll()
• public final void wait(long timeout) throws InterruptedException
• public final void wait(long timeout, int nanoseconds) throws InterruptedException
• public final void wait() throws InterruptedException
• protected void finalize() throws Throwable

Posted Date: 5/16/2013 1:45:24 AM | Location : United States







Related Discussions:- Explain the methods of java.lang.object, Assignment Help, Ask Question on Explain the methods of java.lang.object, Get Answer, Expert's Help, Explain the methods of java.lang.object Discussions

Write discussion on Explain the methods of java.lang.object
Your posts are moderated
Related Questions
Due to impedance mismatch between relational technology and object you need to understand the progress of mapping classes (objects) and their relationships to tables and relationsh

This assignment has two main objectives. It aims to establish a basic familiarity with the Java API (Java Thread class) for creating multithreaded Java application, and the Java ne

What are Commonsense Guidelines to prevent viruses? Discuss about Antivirus as well. Commonsense Guidelines to avoid viruses are as follows: 1. Do not open attachment of unwant

What is Runnable JAR archives You can run a program stored within the JAR archive that has a main() method like this: $ java -cp eharold.jar MainClassName You must use the f

Differentiation the JDK 1.02 event model and the event-delegation model introduced with JDK 1.1?

how to create a face with nose using applet

Normal 0 false false false EN-IN X-NONE X-NONE MicrosoftInternetExplorer4

Errors: When a dynamic linking failure or some other "hard" failure in the virtual machine happens, the virtual machine gives an Error. Typical Java programs could not find Error

Outbound Submissions and Tracking: Project Overview: In the current ARISg environment, expedited reports are qualified and distributed electronically to contacts maintaine

The statechart diagrams and activity diagram are related in a sense that statechart diagram refers on object undergoing a transition process and an activity diagram refers on the f