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 string length in java?
What is anti pattern in cyber security?
What is collection class in java?
What are the basic interfaces of java collections framework?
Can we override constructors in java?
What is the equal sign?
What is the collection interface?
Is it necessary that each try block must be followed by a catch block?
How can I right-justify a string?
How do you generate random numbers in java?
Can java hashmap have duplicate keys?
Which oo concept is achieved by using overloading and overriding?
What about interthread communication and how it takes place in java?
What is the point of polymorphism java?
What is ternary operator in java?