Calling method from another class
i have made two java files as followin:
public class Reader
private static BufferedReader stdin =
new BufferedReader( new InputStreamReader( System.in ) );
public static void main ( String  args ) throws IOException
System.out.println( "input = " + getString());
public static String getString() throws IOException
String input = stdin.readLine();
and the 2nd file is:
public class Test01
public static void main(String arguments)
The problem is that i could'nt call the getString method from Test01 class????
could any one take a look and tell me about it?