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 double in java?

929


What happens if we don’t override run method ?

948


I want to re-reach and use an object once it has been garbage collected. How it's possible?

954


What is mnemonic in assembly language?

1013


What are kinds of processors?

934


How to print an arraylist in java?

1000


What is meant by method?

1012


Name few java 8 annotations ?

970


How to sort double array in java?

942


How can we make a class singleton?

1002


What is meant by final class?

1016


What is the difference between post and put?

993


Why parameters should be passed by reference?

912


What is map and hashmap in java?

1026


What is the synonym of procedure?

1012