whats the difference between == and .equal ?
Answer Posted / guest
== compares the objects but .equals compare the value of the
objects.
Is This Answer Correct ? | 18 Yes | 9 No |
Post New Answer View All Answers
Explain about the security aspect of java?
How many bits is a string?
Why do we use string?
Can we use string in the switch case?
What is the difference between preemptive scheduling and time slicing?
What is parse method?
What is the difference between abstract classes and interfaces?
What is the purpose of assert keyword used in jdk1.4.x?
Differentiate between a constructor and a method? Can we mark constructors final?
How will you calculate the depth of a binary tree if the tree contains 15 nodes?
What is meant by 'Class access modifiers'?
Find the value of a specified element of the array arr[i] where 0 <= i <= n-1
What is the size of boolean variable?
What is the difference between heap and stack memory?
What is the r character?