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 a module function?
How can we make a class virtual?
What is the do while loop syntax?
How do you replace all in word?
What is difference between c++ and java ?
What is a subsequence of a string?
State the difference between strings and arrays.
What are computer functions?
Explain working of call by reference function invoking.
Where are variables stored?
Is int primitive data type?
What is an object in java and how is it created?
What do you mean by stack?
How do you reverse a string in java without using string buffer?
What function extracts specified characters from a string?