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

Can we extend singleton class in java?

965


What are the differences between string, stringbuffer and stringbuilder?

1027


What are the benefits of operations?

948


What is default switch case? Give example.

1007


What is an empty list in java?

974


What's the difference between comparison done by equals method and == operator?

972


What is a conditional equation?

1045


What are the advantages of unicode?

1010


How do you sing an Applet ?

2459


What is the static variable?

1122


What is a generic data type?

1041


Considering notepad/ie or any other thing as process, what will happen if you start notepad or ie 3 times? Where 3 processes are started or 3 threads are started?

1156


What is the default access specifier for variables and methods of a class?

1205


Will set allow duplicates in java?

973


What is parameter example?

1022