What is the output of this program?
The == operator compares two object references to see whether they refer to the same instance,
where as equals() compares the content of the two objects.Output:$ javac output.java$ java outputfalse true
Your email address will not be published. Required fields are marked *
Submit Your Solution hear: