what are the methods of an object class?
Answers were Sorted based on User's Feedback
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 |
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 |
Answer / malay
Wait() , notify(), toString(), equals() , clone()
Is This Answer Correct ? | 2 Yes | 1 No |
Suppose there is a System A which gives some output. This output is used as input by system B. The rate at which System A produces is faster than the rate at which system B consumes it. How can you improve this?
What is non static block in java
10 Answers Emphasis, Ness Technologies,
how to make hashmap object as synchronized object?
Explain listiterator and methods in listiterator?
printstream class method println() is calling using System class and its static object out .how it is explain any one in detail with example ?
Explain when we should make an instance variable private.
What is singleton pattern?
What is the base class for error and exception?
Where are register variables stored?
What if the main() method is declared as private? What happens when the static modifier is removed from the signature of the main() method?
What is the difference between declaration and definition in java?
Does java support multiple inheritances?