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 do you use compareto?
What is java util concurrentmodificationexception?
What is jvm? Why is java called the platform independent programming language?
What are local variables?
Difference between Preemptive scheduling vs. Time slicing?
Write a code to show a static variable?
How many bytes is string in java?
Can we instantiate interface in java?
List the features of java programming language.
Is class forname reflection?
What is flush () in java?
Explain wrapper classes in java?
What is indexof in java?
What is the order of arraylist in java?
Name four container classes.