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
Can a static method be overridden in java?
Why is String immutable?
What do you mean by inner class in java? Explain
What is the purpose of javac exe?
Is java free for commercial?
What is the primary benefit of encapsulation?
What is the Difference between Final Class && Abstract Class?
Explain when noclassdeffounderror will be raised ?
Can we have any other return type than void for main method?
What are the data types supported by java? What is autoboxing and unboxing?
What’s the difference between constructors and other methods?
What is compareto?
Write a method that will remove given character from the string?
What is files manifesting?
what do you mean by classloader in java?