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

how to split string in java?

1159


Why we use multi threading instead of multiprocessing?

1009


Is zero a positive integer?

1004


What’s meant by anonymous class?

1030


Why to use nested classes in java?

1064


What are peerless components?

1039


Can we access the non-final local variable, inside the local inner class?

980


What is the size of integer?

1066


What are functions in java?

909


What is the use of runnable interface?

1098


How do you make an arraylist empty in java?

903


What is meant by collection in java?

1022


What is ordered map in java?

966


Is a boolean variable?

970


What is the difference between keyword and identifier?

990