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

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

Is This Answer Correct ?    21 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you understand by an io stream?

1106


Does set allows null in java?

1027


What is bytecode in java ?

1255


Who is the owner of java?

1052


Explain the key functions of data binding?

1070


How can you make sure that your singleton class will always return single instance in multi-threaded environment?

1087


What is a protected void?

983


What is meant by overloading?

1125


can used Protected Class outside Function.?

1158


What is the purpose of return statement?

1127


What is the internal implementation of set in java?

997


How do you reverse sort in java?

1003


What is the difference between member variables initialization and assignment in a constructor?

1339


What are the features of junit?

1092


Difference between current previous versions of Java?

1081