what is the difference between equals method and ==
Answer Posted / sandeep arora
== checks the reference value, that the reference are of
same object or not.
equals method check two strings are same or not
| Is This Answer Correct ? | 26 Yes | 7 No |
Post New Answer View All Answers
Explain about map interface in java?
Where import statement is used in a java program?
What is command line argument in java?
What is intern method in java?
What is the purpose of the enableevents() method?
what are different ways in which a thread can enter the waiting state? : Java thread
What is a finally block?
how can you catch multiple exceptions in java?
Can memory leak happen java?
How hashmap increases its size in java?
Why is whitespace important?
What is independent and dependent variables in research?
What is incompatible types in java?
What is null in java?
when should you use stringbuilder class in a program?