Hi, Can anybody explain how deep should we know about IO classes. I'm finding all those things really confusing... Thanks in adv. Lakshmi
Aru Ven
Ranch Hand
Joined: Sep 28, 2000
Posts: 199
posted
0
Lakshmi, In IO, Basically u should be fluent with the constructors. Read about the abstract classes, File class, Know the modes of RandomAccessFile... To start with the above should help. HTH Aruna
rob mcfarland
Greenhorn
Joined: Oct 04, 2000
Posts: 11
posted
0
There is a fair bit of stuff to learn with IO and I found it helped to remember the class hierarchy structures. For example classes derived from InputStream have pretty much the same structure (and names) as ones derived from OutputStream. The same applies to Reader and Writer. Definitely learn the constructors - many of them take the same arguments. Learn the File class well. In terms of methods, a lot of them are inherited from the abstract superclasses so once you've learnt them (there's not that many) you only really need to worry about the extra ones provided by DataInputStream and DataOutputStream. Most of the questions I encountered on the exam concentrated on the more commonly used classes, FileInputStream, DataInputStream, File and RandomAccessFile. Cheers, Rob.