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
Why generics are used in java?
Why do we need singleton class?
How we can declare a static variable?
If a class is declared without any access modifiers, where may the class be accessed in java programming?
What is a container in a gui?
Is zero a positive integer?
How to create a thread in java?
What is return code?
What are the advantages of exception handling in java?
Which of the following classes will have more memory allocated?
Explain some best practices you would apply while using collection in java?
How can you say java is object oriented?
What does the exclamation mark mean in java?
What is a newline character in java?
What is the difference between Java1.4 and Java1.5