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
Give us the name of the list layoutmanagers in java?
What is string pool in java?
Why arraylist is used in java?
What is the maximum size of arraylist in java?
Which is better ascii or unicode?
How do you stop a thread in java?
what do you mean by classloader?
What’s a deadlock?
Can we have 2 main methods in java class?
What is difference between public static and void?
What is string args [] in java?
What are inner classes or non static nested classes in java?
Can a private method be declared as static?
What are operators and its types?
How many bits is a double?