हिंदी

Predict the output of the following: String str1 = "Information Technology"; String str2 = "information technology"; boolean p = str1.equalsignoreCase(str2); System.out.println("The result is" + p ); - Computer Applications

Advertisements
Advertisements

प्रश्न

Predict the output of the following:

String str1 = "Information Technology"; 
String str2 = "information technology"; 
boolean p = str1.equalsignoreCase(str2); 
System.out.println("The result is" + p ); 
संक्षेप में उत्तर

उत्तर

The result is true.

shaalaa.com
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
अध्याय 4: String Handling - EXERCISES [पृष्ठ २८७]

APPEARS IN

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

Englishहिंदीमराठी


      Forgot password?
Use app×