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
what is singleton class in java?
What do you understand by synchronization?
How garbage collection is done in java?
What is main string [] args?
What is fail fast in java?
Why should we use singleton pattern instead of static class?
What is the multi-catch block in java?
Is there a case when finally will not execute?
Differentiate between run time error and syntax error.
What is the difference between length and length() method in java?
Can a class be private?
What is static import in java?
This abstract class is correct ? abstract class A { public abstract void Disp(); public abstract void B() { } public absract virtual C() { } }
Explain about sets?
How hashset works internally in java?