import java.io.*;
//import java.util.Scanner;
import java.math.BigInteger;
public class Test_This {
public static void main(String[] args) throws IOException
{
// TODO Auto-generated method stub
InputStreamReader isr = new InputStreamReader(System.in);
BufferedReader br = new BufferedReader(isr);
String file_name ="";
Process pp = new Process();
try{
System.out.print("Please Enter series of characters: ");
file_name = br.readLine();
pp.read_file(file_name);
}//try
catch(NumberFormatException e)
{ System.out.println("data was blank");}
}
}
class Process {

public void read_file(String str)throws IOException
{
String letters = str;

System.out.println("string length" + letters.length());
System.out.println( "Substring from index 10 to end is" + "\t" + letters.substring(10) );
System.out.println("Substring from index 3 and 7 " + letters.substring( 3,7 ) );
System.out.println("abc");
String cde = "cde";
System.out.println("abc" + cde);
String c = "abc".substring(2,3);
String d = cde.substring(1, 2);
System.out.println("c 2,3 = " + c + "\t and d 1, 2 = " + d);
}
}

In the above example you will notice that