Which method is used to find that the object is exited or
not?
Answers were Sorted based on User's Feedback
Answer / ashokmail
we can check the null status of the object for it is
exits or not.
For Example
class java{
public java(){
}
}
class javause{
private java j;
public javause(){
if ( j != null)
j = new java();
}
public static void main(String args[]){
new javause();
}
}
| Is This Answer Correct ? | 6 Yes | 4 No |
Answer / kureshi salman rafik
equals() method is used to find that the object is exited
or
not.
| Is This Answer Correct ? | 2 Yes | 1 No |
what is difference between method overloading & method overridding with example?
Write code to implement bubble sort in java?
Is void a wrapper class?
What is Remote Interface ?
What is core java called?
Write a program to reverse array in place?
What are legal modifiers that we can use to declare an inner class?
What does indexof mean?
how to call one program .class file in another program
What is lazy initialization in java?
What is consumer in java?
What is the use of runnable interface?