what is the difference between equals method and ==
Answer Posted / suganthi
equals method will compare two strings where two strings are
equal or not but == method will compare reference variables.
Is This Answer Correct ? | 4 Yes | 4 No |
Post New Answer View All Answers
What is implicit object in java?
Is treeset sorted in java?
What does exclamation mean in java?
What is a class instance variable?
What is data type in computer?
What is unmodifiable list in java?
Can we create an object of static class in java?
Is it possible to compare various strings with the help of == operator?
What is meant by overloading?
What is static data type in java?
What is remote method invocation (rmi)?
What does null mean in java?
Difference difference paint() and paintcomponent()?
Difference between object instantiation and construction ?
What is a control variable example?