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

Give us the name of the list layoutmanagers in java?

887


What is string pool in java?

970


Why arraylist is used in java?

1025


What is the maximum size of arraylist in java?

956


Which is better ascii or unicode?

948


How do you stop a thread in java?

1010


what do you mean by classloader?

1033


What’s a deadlock?

1057


Can we have 2 main methods in java class?

963


What is difference between public static and void?

949


What is string args [] in java?

985


What are inner classes or non static nested classes in java?

1128


Can a private method be declared as static?

973


What are operators and its types?

1008


How many bits is a double?

955