Answer Posted / rohan
equals() method of string class compares the contaits of string
equals() method of object class compares the address of objects
Hashcode() method returns the unique identification code of
particular object.
Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
What is the static keyword?
What are the topics in core java?
What is immutable class in java?
What is user defined exception in Java?
Can we write any code after throw statement?
How will you reverse a singly-link list?
What is join () in java?
Can substring create new object?
What is a line break?
What is static class
How do you compare objects in java?
What is the purpose of the system class in java programming?
How do I compare two strings in word in java?
Why is string buffer better than string ?
What is a flag and how does it work?