मराठी

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×