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

if the value is null how can we compare it always (x==null)correct

Is This Answer Correct ?    2 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a module function?

1176


How can we make a class virtual?

1182


What is the do while loop syntax?

1088


How do you replace all in word?

1137


What is difference between c++ and java ?

1170


What is a subsequence of a string?

1121


State the difference between strings and arrays.

1329


What are computer functions?

998


Explain working of call by reference function invoking.

1086


Where are variables stored?

1030


Is int primitive data type?

994


What is an object in java and how is it created?

1106


What do you mean by stack?

1205


How do you reverse a string in java without using string buffer?

1149


What function extracts specified characters from a string?

1060