हिंदी

Differentiate between equals() and = =

Advertisements

प्रश्न

Differentiate between equals() and ==

अंतर स्पष्ट करें
Advertisements

उत्तर

equals() ==
This function in the String class checks if two strings are identical.(The equals() function handles upper and lower case characters differently). This relational operator compares two primitive data elements, such as expressions, constants, or variables, to determine their equality.
shaalaa.com
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
अध्याय 4: String Handling - EXERCISES [पृष्ठ २८९]

APPEARS IN

अविचल Computer Applications [English] Class 10 ICSE
अध्याय 4 String Handling
EXERCISES | Q VI. 1. | पृष्ठ २८९
Advertisements
Share
Notifications



      Forgot password?
Use app×