import java.io.*; public class Sample { private static BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); public static void main(String[] args)throws IOException { String word; System.out.print("Enter A Word: "); word = br.readLine( ); } }
this is just the code(so simple)
the output is this
-----------------
Enter A Word: Enter A Word:
------------------
two outputs of print??
something's possesed my IDE........