Problem Statement - Output writing – indexOf, substring
Write the output for the following:
String s=”Today is Test” ;
System.out.println(s.indexOf(‘T’));
System.out.println(s.substring(0,7) + ” ” +”Holiday”);
Solution
CSKC| Created: 15-Apr-2019 | Updated: 28-Nov-2019|ICSE2017