About::File

kiddo's Avatar
Contributor
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
0
devunion's Avatar, Join Date: Sep 2008
Go4Expert Member
You need to use the first stream to read/write binary files. An the second stream to read/write text files.
0
kiddo's Avatar
Contributor
So, what's the different between this binary file and text file?
0
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
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.