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
How to display all the prime numbers between 1 and n (n is the number, get the input from user)
How to sort double array in java?
How to calculate the length of a singly linked list in java?
How do you trim a space in java?
How do you add an arraylist to an array in java?
What are the differences between graph and tree?
What is the meaning of 3 dots in java?
Which is bigger double or float?
Explain about public and private access specifiers?
What is java literals?
What is an interoperable application in java ?
Why java is considered as platform independent?
Can you declare the main method as final?
What is meant by collection in java?
What is singleton class example?