• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Quick Question about Java File I/O

Tarrant64

Diamond Member
I'm studying for a Java exam, and I'm trying to find out whether or not ObjectInputStream/ObjectOutputStream is human readable. I'm pretty sure on the exam I will be asked about FileInput/OutputStream, DataInput/OutputStream, BufferedReader, Printwriter, and ObjectInput/OutputStream.

I know the first two aren't human readable, and that BufferedReader/PrintWriter are human readable. But what about ObjectInputStream and ObjectOutputStream?

Thanks for the help!
 
I think it depends on just how much of a geek you are 😛

But a rule of thumb might be that *Stream is non-readable (cuz it's binary) and *Reader/*Writer is readable (cuz it's character data). In practise, it all depends on what you send down those pipes, you could easily make nonsense character data and you could make readable binary.
 
Back
Top