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
Spring comprises of seven modules. They are.. a) The core container b) Spring context c) Spring AOP d) Spring DAO e) Spring ORM f)  Spring Web module g)  Sprin

I want to copy an iphone app with some changes Project Description: I want to copy an iphone app with some changes i need the best programmer to do this for me Skills r

Object-to-Relational (O/R) mapping : There are various ways to persist data and the persistence layer is one of the most important layers in any application development. O/R ma

You must design, code and demonstrate a J2ME program (a program capable of running on mobile telephones) according to the specification given in the next section.  The overall cour

JavaServer Faces (JSF) framework : JavaServer Faces is a new framework for creating Web applications using Java. JSF gives you with the following main features: Basic us

1. Which of the following are not valid Java identifiers, and why? (a) wolVes (b) United(there is only one) (c) 87 (d) 5 3 (e) Real ale (f) isFound?by 2. A cla

J2EE prepares use of the JNDI interface to access different resources like JMS, JDBC, EJB etc. The client finds up for these resources through the JNDI look-up. The JNDI look like

What are the principle concepts of OOPS? Principle concepts upon that object oriented programming and design rest. They are: Abstraction: Abstraction refers to the act of

How to Implementing Interfaces in java? To actually utilize this interface you create a class that involves a public double calculateTariff() method and declare in which the cl

Describe about Applet Security? The possibility of surfing the Net, wandering across a random page, playing an applet and catching a virus is a fear in which has scared several