/  22
 
Introduction to Programming 1
1
5Getting Input fromKeyboard
 
Introduction to Programming 1
2
Objectives
At the end of the lesson, the student should be able to:
Create an interactive Java program that gets input from thekeyboard
Use the BufferedReader class to get input from thekeyboard using a console
Use the JOptionPane class to get input from the keyboardusing a graphical user interface
 
Introduction to Programming 1
3
Getting Input from theKeyboard
Two methods of getting input:
 –
BufferedReader class
 –
JOptionPane class
graphical user interface

Share & Embed

More from this user

Add a Comment

Characters: ...