File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes help on one question? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "help on one question?" Watch "help on one question?" New topic

help on one question?

david hu
Ranch Hand

Joined: Jul 20, 2001
Posts: 143
Answer 1,3,4 are right. My question is why answer 1 is right since UTF is used to bridge the use of uicode and ascii code. I think the uicode is used to support the international characters sets, not utf.
Which of the following statements are true?
1) Java uses a system called UTF for I/O to support international character sets
2) The RandomAccessFile is the most suitable class for supporting international character sets
3) An instance of FileInputStream may not be chained to an instance of FileOutputStream
4) File I/O activities requires use of Exception handling
Michael Ernest
High Plains Drifter

Joined: Oct 25, 2000
Posts: 7292

I find it a poorly worded question. If answer 1) replaced "UTF" with "Unicode" there would be no confusion.
Michael Ernest, co-author of: The Complete Java 2 Certification Study Guide

Make visible what, without you, might perhaps never have been seen.
- Robert Bresson
I agree. Here's the link:
subject: help on one question?
It's not a secret anymore!