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

What is java reflection api?

977


What is lifetime variable?

919


What is a default method?

1003


how come we know the object is no more used in the class?

6389


Explain polymorphism citing an example.

1011


What is e in java?

917


What is java util collection?

1017


What is the right data type to represent a price in java?

919


How is it possible for two string objects with identical values not to be equal under the == operator?

941


What do you mean by chromounits in java8?

904


What does %4d mean in java?

1437


What is a java object and java application?

998


Write a code to create a trigger to call a stored procedure

924


Can the garbage collection be forced by any means?

947


What are selection structures?

948