Buffered Reader class

import java.io.* ;

public class BufferedReaderDemo
{
 public static void main (String[] args) throws IOException
 {
   // create reader object
   BufferedReader objReader = new BufferedReader(new InputStreamReader (System.in));
    
   System.out.print ("Please enter something ");
   String employeeName = objReader.readLine ();
    
   // used for integer inputs
   int foo = Integer.parseInt (objReader.readLine ()); 

   // used for double inputs 
   double boo = Double.parseDouble (objReader.readLine()); 

    
  }
}