Output Questions for Class 10 ICSE Computer Applications
If:
String x = "Computer";
String y = "Applications";
What do the following function returns?
System.out.println(x.equals(y));
Java
Java String Handling
ICSE 2008
57 Likes
Answer
false
Working
As strings x and y are not equal so x.equals(y) returns false.
Answered By
30 Likes