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

What is the current version of java?

986


Define iterator and methods in iterator?

924


What do you understand by java virtual machine?

1127


What is files manifesting?

2151


Explain JMS in detail.

978


What does nullpointerexception mean?

1030


What methods are used in Servlet?Applet communication?

2187


Can memory leak in java?

989


What is the super void?

855


Explain the difference between arraylist and linkedlist in java?

933


What is package private scope in java?

890


Explain about OOPS concepts and fundamentals.

1005


Can anonymous class have constructor?

979


What do you mean by local class?

962


Can singleton class be serialized?

912