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

2. if(null==x) is correct

Is This Answer Correct ?    3 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How does remove work in java?

1028


What are constructors in java?

1198


How can we use primitive data types as objects?

1004


Why are constructors used?

1076


What is finalize() function in java?

1067


Why main function is static?

1322


What is concurrent hashmap and its features?

1170


What is garbage collection? Can it be forced to run?

1064


what are the states associated in the thread? : Java thread

1113


What is computer compiler?

1048


Why does java not support pointers?

1177


What is the meaning of course?

1146


What is the instance of an object?

1273


Can we make a constructor final?

1084


What is polymorphism and what are the types of it?

1038