whats the difference between == and .equal ?
Answer Posted / guest
== compares the objects but .equals compare the value of the
objects.
Is This Answer Correct ? | 18 Yes | 9 No |
Post New Answer View All Answers
What is a java lambda expression?
What is append in java?
Java is pass by value or pass by reference? Explain
What is the difference between hashmap and hashtable? What is an interface?
What are three ways in which a thread can enter the waiting state in java programming?
Will the jvm load the package twice at runtime?
List out benefits of object oriented programming language?
Do you know how to reverse string in java?
What are the steps that are followed when two computers connect through tcp?
What is a java developer salary?
Is array dynamic in java?
What is a priority queue java?
What happens if an exception is throws from an object's constructor?
What is flag in java?
What is the this keyword?