Go4Expert

Go4Expert (http://www.go4expert.com/)
-   Java (http://www.go4expert.com/forums/java/)
-   -   About::File (http://www.go4expert.com/forums/aboutfile-t18181/)

kiddo 25Jun2009 11:46

About::File
 
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

devunion 10Jul2009 02:46

Re: About::File
 
You need to use the first stream to read/write binary files. An the second stream to read/write text files.

kiddo 10Jul2009 15:05

Re: About::File
 
So, what's the different between this binary file and text file?

shabbir 10Jul2009 21:49

Re: About::File
 
Quote:

Originally Posted by kiddo (Post 52105)
So, what's the different between this binary file and text file?

The way they store the date.


All times are GMT +5.5. The time now is 11:38.