About::File

Contributor
25Jun2009,11:46   #1
kiddo's Avatar
In java there are two Stream that can be used to write or read file.
Byte Stream and Character Stream.
Java also provided many classes to write and read file.

My question is what and when to use these classes???
I'm really confuse about this part.
or was I misunderstand about it?
----------------------------------------------------------------------
By: Babie Newbie
Go4Expert Member
10Jul2009,02:46   #2
devunion's Avatar
You need to use the first stream to read/write binary files. An the second stream to read/write text files.
Contributor
10Jul2009,15:05   #3
kiddo's Avatar
So, what's the different between this binary file and text file?
Go4Expert Founder
10Jul2009,21:49   #4
shabbir's Avatar
Quote:
Originally Posted by kiddo View Post
So, what's the different between this binary file and text file?
The way they store the date.