BufferedReader console=new BufferedReader(new InputStreamReader(System.in));//system.in shud be changed;
in this Line of code what ever is typed onto the keyboard gets into the console object,
I want the BufferedReader object to read from a variable
now my question is-what should be the parameter for BufferedReader Constructor??