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
What is the point of polymorphism java?
What are the six ways to use this keyword?
What is double in java?
What is string in java is it a data type?
Is the milky way in a void?
What are class members by default?
What variables are stored in stack?
Can you pass functions in java?
What is the abstraction?
How do you sort a list in java?
What is size_t?
How do you reverse sort a list in java?
What is lifetime variable?
What is the mapping mechanism used by java to identify IDL language?
what are the high-level thread states? : Java thread