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
How many ways can we create singleton class?
What is the meaning of variables in research?
What is difference between static and abstract class?
Explain about data types?
Explain hashset and its features?
What is data object example?
What is literal example?
Can main() method in java can return any data?
What is the flag in java?
What is the common usage of serialization?
How to create a base64 decoder in java8?
Why java is secure? Explain.
What is static import in java?
Why webdriver is an interface?
How do you declare a destructor in java?