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 one is more efficient
int x;
1. if(x==null)
2.if(null==x)
state which one either 1 or 2?

Answer Posted / kishore

1.if (x==null) is correct answer.

Is This Answer Correct ?    5 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Differentiate between array list and vector in java.

1125


What is the meaning of variable in research?

1019


How can you add and remove nodes in jtree?

1047


Define locale.

1043


What is entry set in java?

1155


What is the escape character in java?

1001


How does finally block differ from finalize() method?

1059


When should I use singleton pattern?

1044


What do you mean by a JVM?

1259


Are constructors methods?

1030


Why do we need array in java?

1030


What is externalizable?

1071


What are the files generated after using IDL to java compiler?

1158


Explain notifyall() method of object class ?

1093


Explain how hashmap works?

1071