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 / person

neither... they wouldn't compile without explicit Integer cast.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What sorting algorithm does javascript use?

976


What is arraylist e in java?

1048


What are the two types of java programming?

1054


How do you do absolute value in java?

972


What is meant by design patterns?

1020


Is 0 an irrational number?

1065


How do you check if an arraylist is not empty?

1113


How do you invoke a method?

997


What is append function?

990


Explain throw keyword in java?

1037


What methods are used in Servlet?Applet communication?

2234


What is the nested interface?

1102


Does constructor be static?

1029


What are the object and class classes used for?

1036


Explain features of interfaces in java?

980