which one is more efficient
int x;
1. if(x==null)
2.if(null==x)
state which one either 1 or 2?
Answer Posted / kishore
1.if (x==null) is correct answer.
| Is This Answer Correct ? | 5 Yes | 6 No |
Post New Answer View All Answers
What is the current version of java?
Define iterator and methods in iterator?
What do you understand by java virtual machine?
What is files manifesting?
Explain JMS in detail.
What does nullpointerexception mean?
What methods are used in Servlet?Applet communication?
Can memory leak in java?
What is the super void?
Explain the difference between arraylist and linkedlist in java?
What is package private scope in java?
Explain about OOPS concepts and fundamentals.
Can anonymous class have constructor?
What do you mean by local class?
Can singleton class be serialized?