Give the output of the following string functions:
45 Likes
Answered By
21 Likes
The output of the statement "CONCENTRATION".indexOf('T') is:
Write the output of the following String methods:
String x= "Galaxy", y= "Games";
(a) System.out.println(x.charAt(0)==y.charAt(0));
(b) System.out.println(x.compareTo(y));