(a) Give the output:
String si="Today is Thursday";
String s2=" Karnatka";
String s3="Kerala";
System.out.println(s1.indexOf('d')+s2.lastIndexOf('a'));
System.out.println(s3.substring(0,3));
System.out.println(s3.replace('a',s1.charAt(1)));
System.out.println(s1.substring(6,8)+""+"Happy");
System.out.println(s2.compareTo(s3));
Answers
Answered by
0
Answer:
system.out.println(s3.substring(0,3));
Explanation: hi hi hi hi hi hi hi
Similar questions
Social Sciences,
29 days ago
English,
29 days ago
English,
29 days ago
Math,
1 month ago
Math,
8 months ago