what is the difference between equals method and ==
Answer Posted / upendar
== checks wheather two strings are pointing to same location
or not.
equals method checks wheather the strings are same or not
| Is This Answer Correct ? | 2 Yes | 4 No |
Post New Answer View All Answers
Can you change array size in java?
What is java Applet?
java Technical questions asked by JPMC
How many types of java are there?
What are multiple inheritances?
Can we initialize the final blank variable?
What is meant by stack and queue?
Is null a string?
What are the different ways of implementing thread? Which one is more advantageous?
Why are parameters used in functions?
Which data type is class in java?
What is assembly used for?
Where to store local variables?
What is difference between classpath and path variables in java?
If a class is declared without any access modifiers, where may the class be accessed in java programming?