I often find myself stuggling with the Java API structure. Could someone explain me the structure of Java API(major task) or tell where I could find the explanation on this topic. Here is sample of my dilemma: InputStream (abstract,) DataInput(Interface,) FileInputStream, FilterInputStream, SequenceI nputStream, BufferedInputStream and DataInputStream. These are all part of Java.io package but which is subclass of which. Which class I need to use in what sequence to read a file into my program etc. I would greatly appreciate your help. Thanks.
This will give you a tree view of all the objects in the Java 2 Standard Edition API. Do a search for java.io.InputStream and you will see how all those objects you mentioned are linked.