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
When is the arraystoreexception thrown?
What is boolean strategy?
What are java packages? What's the significance of packages?
What is difference between == equals () and compareto () method?
Can we inherit inner class?
What is a concrete classes? Is Java object class is concrete class?
What is string args [] in java?
Does java allow default arguments?
Why multiple inheritance is not supported by java?
What is singleton math?
What is array and arraylist in java?
Describe what happens when an object is created in java ?
Difference between a process and a program?
What happens if main method is not static?
What is locale in java?