Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Save to My Library
Look up keyword
Like this
1Activity
0 of .
Results for:
No results containing your search query
P. 1
Input Output Files

Input Output Files

Ratings: (0)|Views: 230|Likes:
Published by mattdmn
java
java

More info:

Published by: mattdmn on Aug 02, 2010
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PPS, PDF, TXT or read online from Scribd
See more
See less

10/25/2012

pdf

text

original

 
Managing Input /Output Files in Java
Copyright © 2009 by Royal Institute of Information Technology 
 
Introduction
 
 file
is a collection of related records placed ina particular area on the disk 
 
record 
is composed of several fields
 
 field 
is a group of characters.
Characters
in java are Unicode characterscomposed of two bytes.
E
ach
 Byte
containing eight binary digits, 1 or 0
S
toring and Managing data using files is knownas
 file processing
 which includes tasks such ascreating, updating files and manipulation of data
Copyright © 2009 by Royal Institute of Information Technology 
 
C
oncept of Streams
J
ava uses the concept of streams to represent theordered sequence of data
common characteristic shared by all the Input /Output devices.
 
stream
presents a uniform, easy-to-use, object-oriented interface between the program and theInput / Output devices.
S
tream has a
source
(of data) and a
destination
(for that data) may be physical devices orprograms or other streams in the program
Copyright © 2009 by Royal Institute of Information Technology 

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->