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
Can you declare the main method as final?
How do you sort in ascending order in java?
What is the memory leak in java?
What is method overloading in JAVA? Why is it not present in C ?
What is keyword and identifier?
How to use string tokenizer class.
What is function and method in java?
What is the difference between import java.util.date and java .util?
What is a Transient Object?
What is string :: npos?
Which programming language is most secure?
What do you understand by access specifiers in Java?
What is ‘is-a ‘ relationship in java?
What is character in data type?
What are use cases?