where is .equals() method and how is it different from ==
operation <giving some confusing implementation> Is hashing
related to these?
Answer Posted / pavan kumar pathivada
The code by Namita works successfully but you need to make
certain changes to understand the concept.for every .equals
comparison in the code only two strings are considered
everytime i.e str and str3. Note that the hash code
functions also need to changed for str6 and str7.
anywys...great work namita...helped me a lot...thnks...
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What does this mean java?
What is wrapper class example?
How can u increase the heap size in the memory?
How dead lock situation occurs in java and how you can identify it?
Can we extend private class in java?
What is the difference between the size and capacity of a vector?
What is meant by anonymous class?
What is google full form?
Can bool be null?
What is application system?
what do you mean by classloader?
What is callable java?
What is a text string?
What is java util?
What are predefined functions?