You're not really expected to memorize APIs for the exam. Sure, there's a couple of bits of the more commonly used stuff, but that's about the limit of it.
What you need to know is the <em>
pattern</em> that applies to this stuff.
You should know that
File objects represent the path-and-filename, not the file itself. You should know that there are three key classes that allow interaction with files
FileInputStream FileOutputStream RandomAccessFile. You should recognize that these may be constructed using
File or
String arguments, and you need to know how to control
FileOutputStream for appending vs overwriting. Further, you need to know the (two) possible arguments that control read/read-write access to a RandomAccessFile.
The pattern you must understand is the way that IO streams can be daisy-chained together. This involves understanding the class hierarchy of streams. Recognizing which of the IO stream classes are input, output, and which are filters is valuable but don't bother to _learn_ them all, you just need to recognize. That's about it really.
Cheers,
Simon
Originally posted by Debabrata Deb:
Hi All,
could anybody point me towards a resource on the Web which has all the important I/O Constructors and methods needed for the exam neatly listed on a page or two?
It would really be a very helpful resource
Thanks in advance,
-Deb
[This message has been edited by Debabrata Deb (edited October 26, 2000).]