Advertisements
Advertisements
Question
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 );
Answer in Brief
Solution
The result is true.
shaalaa.com
Is there an error in this question or solution?