Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Which method is used to find that the object is exited or
not?

Answers were Sorted based on User's Feedback



Which method is used to find that the object is exited or not?..

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

Which method is used to find that the object is exited or not?..

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

Post New Answer

More Core Java Interview Questions

Define how objects are stored in java?

0 Answers  


What do heavy weight components mean in java programming?

0 Answers  


What is application tier?

0 Answers  


What is JDBC Driver interface?How can you retrieve data from the ResultSet

0 Answers   CTS,


What are the Abstract Classes provided by Java?

5 Answers   Oracle,


What is an class?

0 Answers  


What is java util concurrentmodificationexception?

0 Answers  


What is a string token?

0 Answers  


how jvm allocates memory for stack?

1 Answers   HP, Ramco,


can rmi and corba based applications interact ?

0 Answers  


Is the milky way in a void?

0 Answers  


What do you mean by an interface in java?

0 Answers  


Categories