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 an example of a conditional statement?
What is charat ()?
What is final keyword?
How do you declare an array that will hold more than 64KB of data?
Can an interface have a class?
What is java literals?
Explain inheritance in java?
What is arraylist e in java?
Explain the inheritance?
Define an enumeration?
Explain wrapper classes in java?
Compare Mutex and Semaphore in java.
Can you override a final method?
What is a vararg?
What is double checked locking in singleton?