5 Getting Input from Keyboard
5 Getting Input from Keyboard
5 Getting Input from Keyboard
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Sample Program●The statement,BufferedReader dataIn = new BufferedReader(new <strong>Input</strong>StreamReader( System.in) );declares a variable named dataIn, with the class typeBufferedReader.– Don't worry about what the syntax means for now. We will cover more aboutclasses and declaring classes later in the course.Introduction to Programming 1 11