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 Concept of Encapsulation in OOPS
How to perform binary search in java?
What is the main purpose of serialization in java?
How do you bind variables?
What is casting in java programming?
Can you explain the private protected field modifier?
Does string is thread-safe in java?
Is set ordered in java?
Can the garbage collection be forced by any means?
Can we overload the main() method?
Write a program in java to create a doubly linked list containing n nodes.
What are exception handling keywords in java?
What does a boolean method return?
Can we write multiple catch blocks under single try block?
Can you extend main method in java?