what are the methods of an object class?

Answers were Sorted based on User's Feedback



what are the methods of an object class?..

Answer / m.pushpa

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 ?    3 Yes 0 No

what are the methods of an object class?..

Answer / 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

what are the methods of an object class?..

Answer / malay

Wait() , notify(), toString(), equals() , clone()

Is This Answer Correct ?    2 Yes 1 No

Post New Answer

More Core Java Interview Questions

How do you decide when to use arraylist and linkedlist?

0 Answers  


What does sprintf return?

0 Answers  


How do you check whether the list is empty or not in java?

0 Answers  


What is the difference between class forname and new?

0 Answers  


Why bytecode is called bytecode?

0 Answers  


for(i=0;i<100;i++) { int i=method();//method returns no's from 1 to 10; /* insert some stmts which can give output like no.of times numbers(1-10) returned. (for example if it returns 2 then i want output how many times 2 returned) like that i want output for no's 1 - 10 how many times each no returned. */ }

3 Answers  


What do you understand by a Static Variable?

0 Answers   CGI,


What is singletonlist in java?

0 Answers  


What is meant by class and object in java?

0 Answers  


What are the operands of instanceof operator?

3 Answers  


What happens when a thrown exception is not handled?

0 Answers   Wipro,


Catch(Exception e){ } in that what is Exception and purpose of that in that place exactly?

3 Answers  


Categories