12.07.2015 Views

5 Getting Input from Keyboard

5 Getting Input from Keyboard

5 Getting Input from Keyboard

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Sample Program●The statement,public class Get<strong>Input</strong>From<strong>Keyboard</strong> {means we declare a class named Get<strong>Input</strong>From<strong>Keyboard</strong>●The next statement declares the main method.public static void main( String[] args ){Introduction to Programming 1 10

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

Saved successfully!

Ooh no, something went wrong!