12.07.2015 Views

5 Getting Input from Keyboard

5 Getting Input from Keyboard

5 Getting Input from Keyboard

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

ObjectivesAt the end of the lesson, the student should be able to:●●●Create an interactive Java program that gets input <strong>from</strong> thekeyboardUse the BufferedReader class to get input <strong>from</strong> thekeyboard using a consoleUse the JOptionPane class to get input <strong>from</strong> the keyboardusing a graphical user interfaceIntroduction to Programming 1 2

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!