what is the difference between equals method and ==
Answer Posted / ravikiran
equals will compare two objects,== will compare whether two
reference variables refer to same object or not
| Is This Answer Correct ? | 9 Yes | 1 No |
Post New Answer View All Answers
What is variable in java?
What’s the difference between unit, integration and functional testing?
What are different types of inner classes ?
Explain tree set and its features?
What is the difference between inner class and nested class?
What is a string token?
What is null object in java?
Is the empty set a singleton?
What are actual parameters?
What is the difference between serial and throughput garbage collector?
Can we declare the main method of our class as private?
How to display all the prime numbers between 1 and n (n is the number, get the input from user)
What is collection api?
What is overriding in java?
What are thread safe functions?