• +91 9723535972
  • info@interviewmaterial.com

Java Interview Questions and Answers

Question - How is it possible for two String objects with identical values not to be equal under the == operator? How are this() and super() used with constructors?

Answer - The == operator compares two objects to determine if they are the same objects in memory. It is possible for two String objects to have the same value, but located in different areas of memory.

Comment(S)

Show all Coment

Leave a Comment




NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners