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 the point of polymorphism java?

539


What are the six ways to use this keyword?

604


What is double in java?

512


What is string in java is it a data type?

532


Is the milky way in a void?

539






What are class members by default?

657


What variables are stored in stack?

527


Can you pass functions in java?

568


What is the abstraction?

589


How do you sort a list in java?

575


What is size_t?

501


How do you reverse sort a list in java?

505


What is lifetime variable?

521


What is the mapping mechanism used by java to identify IDL language?

588


what are the high-level thread states? : Java thread

556