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

Can you declare the main method as final?

1009


How do you sort in ascending order in java?

871


What is the memory leak in java?

1031


What is method overloading in JAVA? Why is it not present in C ?

1101


What is keyword and identifier?

1128


How to use string tokenizer class.

1199


What is function and method in java?

946


What is the difference between import java.util.date and java .util?

1052


What is a Transient Object?

1083


What is string :: npos?

1078


Which programming language is most secure?

994


What do you understand by access specifiers in Java?

1012


What is ‘is-a ‘ relationship in java?

1022


What is character in data type?

960


What are use cases?

973