English

Differentiate between equals() and = = - Computer Applications

Advertisements
Advertisements

Question

Differentiate between equals() and ==

Distinguish Between

Solution

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
  Is there an error in this question or solution?
Chapter 4: String Handling - EXERCISES [Page 289]

APPEARS IN

Avichal Computer Applications [English] Class 10 ICSE
Chapter 4 String Handling
EXERCISES | Q VI. 1. | Page 289
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×