|
|
|
|
|
|
|
|
|
|
|
|
|
|
JAVA SERVLET
Creating a good input/output (IO) system is one of the more difficult tasks for the language designer. This is evidenced by the number of different approaches. The challenge seems to be in covering all eventualities. Not only are there different kinds of IO that you want to communicate with (files, the console, network connections), but you need to talk to them in a wide variety of ways (sequential, random-access, binary, character, by lines, by words, etc.). Files are primary source and destination for data within many programs. There are two classes to handle file input and output 1. FileInputStream To read the file 2. FileOutputStream To write the file
|
||||||||
|
|