what are the methods of an object class?

Answer Posted / paletipatisrinu

object is the super class for all the class the following
methods are
clone(),
equals(Object obj),
protected void finalize(),
Class getClass(),
int hashCode(),
void notify(),
void notifyAll(),
String toString(),
void wait() ,
void wait(long timeout),
void wait(long timeout, int nanos),

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

we have syntax like for(int var : arrayName) this syntax is to find whether a number is in the array or not.but i want to know how to find that number's location.

1572


Explain all java features with real time examples

1209


How to set the permissions to a file in java?

542


Why java is considered as platform independent?

593


What are the Class Libraries ?

599






What is difference between null and void?

531


What is a flag variable?

559


What are the escape sequences in java?

565


What is the purpose of skeleton and stub?

590


What will happen if there is a default method conflict as mentioned above and we have specified the same signature method in the base class instead of overriding in the existing class ?

518


Can an interface extend a class?

540


How to use arraylist in java netbeans?

512


Can keyword be used as identifier?

547


How does enum work in java?

548


How do I type unicode?

540