Core Java McQ
String str = “abcde”;
System.out.println(str.substring(1, 3));
//answer: bc
//s[start]to s[end-1]
Perfect Pygmy
String str = “abcde”;
System.out.println(str.substring(1, 3));
//answer: bc
//s[start]to s[end-1]