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 does  mean in regex?

1056


What is compareto () in java?

981


Explain the scope of a variable.

1097


What are strings in physics?

1015


What is increment in java?

962


How do you create immutable object in java?

1046


What are the 3 types of control structures?

1017


What causes memory leak in java?

936


How to perform selection sort in java?

999


What are the 8 primitive data types in java?

1019


What is java algorithm?

940


What are pass by reference and pass by value?

988


Difference between a process and a program?

1114


Can we convert stringbuilder to string in java?

988


Is java free for commercial?

922