Archive for November 1st, 2006


T11-13 - Basic Input/Output methods

1. Standard Input-Output Methods

Java uses a standard way for inputting and outputting data to the program, called Standard Input and Output Streams. A stream is a flowing sequence of characters. By default, unless redirected, the input is a keyboard and the output is a display (word standard refers to the keyboard and display)

System.in.read(…); …to read characters from its input source

System.out.println(…); … to display data specified as an argument

Welcome to Kaizenlog.com If you're new here, you may want to subscribe to my RSS feed , Twitter You can contact us by using the contact form or submitting a comment. You can also share this post with your friends by clicking on the 'ShareThis' button above. Thanks for visiting!

Comments No Comments »