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 is initial size of arraylist in java?
Find the value of a specified element of the array arr[i] where 0 <= i <= n-1
What is difference between printf and scanf?
Is it possible to override the main method?
Which software is used for java programming?
How to sort numbers in java without array?
What is a parameter in java?
What is high level language in computer?
What is the longest unicode character?
What is a jagged array in java?
Can we write multiple catch blocks under single try block?
What is the use of jtable?
What is an empty list in java?
What are the types of java?
hr interview how many minutes asking question