Sorry! Posting Assignment is allowed only for commercial accounts.
String str = "abcde";System.out.println(str.substring(1, 3));