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 does mean in regex?
What is compareto () in java?
Explain the scope of a variable.
What are strings in physics?
What is increment in java?
How do you create immutable object in java?
What are the 3 types of control structures?
What causes memory leak in java?
How to perform selection sort in java?
What are the 8 primitive data types in java?
What is java algorithm?
What are pass by reference and pass by value?
Difference between a process and a program?
Can we convert stringbuilder to string in java?
Is java free for commercial?