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
What sorting algorithm does javascript use?
What is arraylist e in java?
What are the two types of java programming?
How do you do absolute value in java?
What is meant by design patterns?
Is 0 an irrational number?
How do you check if an arraylist is not empty?
How do you invoke a method?
What is append function?
Explain throw keyword in java?
What methods are used in Servlet?Applet communication?
What is the nested interface?
Does constructor be static?
What are the object and class classes used for?
Explain features of interfaces in java?