}
public static void sop(String str)
{
System.out.println(str);
}
}
Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String index out of range: 12
at java.lang.String.substring(String.java:1951)
at aaa.Test5.getMaxSubSring(Test5.java:20)
at aaa.Test5.main(Test5.java:7)