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

Can we write any code after throw statement?

1045


What will happen when using pass by reference in java?

982


Explain wait() method of object class ?

1214


What is locale?

1021


What if constructor is protected in java?

1108


What is literal example?

940


What’s meant by anonymous class?

1078


How many types of interfaces are there?

1058


What is method in research paper?

1126


What is a boolean flag in java?

1022


Can we initialize the final blank variable?

1086


What is a nested list?

958


Explain about version control?

1031


Can you run java program without main method?

1059


Explain creating threads by implementing runnable class?

1156