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 the difference between abstract class and interface1? What is an interface?
Define reflection.
What is are packages?
Can static methods be inherited?
What are the types of strings?
What are internal and external variables?
What is meant by bytecode?
What are parsing rules?
What the difference is between execute, execute Query, execute Update?
In java, what is the difference between method overloading and method overriding?
What is the latest version of java?
Is array serializable java?
How to change the priority of thread or how to set the priority of thread?
What is the format specifier?
Tell me the latest versions in java related areas?