whats the difference between == and .equal ?
Answer Posted / tarun
equals() method compare the character inside the string object
== operator compare two object reference to see whether they
refer same instance
| Is This Answer Correct ? | 12 Yes | 1 No |
Post New Answer View All Answers
How do I run java on windows?
What does it mean that strings are immutable?
What is java reflection?
What are the application of stack?
What is data object example?
Is logger a singleton?
How infinite loop is declared?
Can we override tostring method in java?
Describe the various concepts related to object oriented programming (oop).
Can you create an object of an abstract class?
Explain about collection interface in java?
Explain hashset and its features?
Define how can we find the actual size of an object on the heap?
What does super keyword do?
what is a working thread? : Java thread