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 domain object
Can a java program have 2 main methods?
Why is an interface be able to extend more than one interface but a class can’t extend more than one class?
Can classes declared using the abstract keyword cab be instantiated?
They had given one progam final HashMap hm=new HashMap(); public void show() { hm.put("name",value); } in this prg here the final hashtable value can be changed in put method,its the prg run?
What are null interfaces in JAVA ? and give me some examples?
What is the method overriding?
What is a vector in java?
Differentiate between overriding and overloading cases?
Explain about map interface in java?
You can create a string object as string str = “abc”; why cant a button object be created as button bt = “abc”;? Explain
What are the data types supported by java? What is autoboxing and unboxing?