This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes Files and Bits Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "Files and Bits" Watch "Files and Bits" New topic

Files and Bits

Keith Jones
Ranch Hand

Joined: Oct 30, 2006
Posts: 105
Hi guys,

Files first ... :

1. Can we use RandomAccessFile to read the database file or do we need to use DataOut/InputSteam as the spec seems to suggest?

Now bits ... :

A lot of people seem to be asking about this and yet no one seems to know what the right thing to do is.

2. Some suggest that when you read a string from the file you can do something like this:

3. Others say you should use ISO-8859-1 instead (as to how is another matter).

4. And to add to the confusion I read a post by Junilu Lacar

which says:

Got word back from Sun about this. Max Habibi was right: there was a typo in the instructions and it should read "7-bit US ASCII" instead of "8-bit US ASCII".

Does anyone know what's going on and what the truth of the matter is?



SCJP 1.4
I agree. Here's the link:
subject: Files and Bits
jQuery in Action, 3rd edition