hi guys here r the tips i used and that helped me 1. take a print out of the tree like sturcture of the following and stick it some place where u can stand and see them for about 20 mts everyday visuals are better remembered than text I/O components menu components events if u have a confusion between component or container coming first remember "m" comes before "n" for the events that do not have coressponding classes remember IATA these have only one method and hence no class in the hierarchy structure, IATA and components come on the first line and the rest are below component for the components that generate item events ... remember all the components beginning with "c" and "List" the rest generate action events + "list" also the more obvious ones "adjustement even" text event" there is no confusion or need to memorise
now to come to I/O the File class does not create a file Reader, Writer , InputStream, OutputStream are all abstract and cannot be instantiated so if u see anywhere (new Reader) or any of the others mentioned above..... it is an error. For object representation and primitive representation you would use the ObjectInputStream or DataInputStream (and ofcourse the coressponding writer) for character encoding we use InputStreamReader and OutputStreamWrtier Only FileInputStream, ByteArrayInputStream .. the first line of heirarchy can take the File constraint, the rest cannot take the File constraint directly For the RandomAcessFile only two forms are possible "r", and "rw" "rw" will create the file if the file does not exist It takes the File constraint only thats it guys if anything else comes up i will post it for sure
sona<br />SCJP
jeena jose
Ranch Hand
Joined: May 06, 2001
Posts: 69
posted
0
thanks sona.explanation for I/O was helpful
rajashree ghatak
Ranch Hand
Joined: Mar 10, 2001
Posts: 151
posted
0
Thanx sona. ur tips are of great help. rajashree.
Cindy Glass
"The Hood"
Sheriff
Joined: Sep 29, 2000
Posts: 8521
posted
0
"JavaRanch, where the deer and the Certified play" - David O'Meara
Mikael Jonasson
Ranch Hand
Joined: May 16, 2001
Posts: 158
posted
0
IATA? /Mike
Ricardo Polero
Ranch Hand
Joined: May 18, 2001
Posts: 128
posted
0
Thanks for the tips !
angelo celeste
Ranch Hand
Joined: Mar 21, 2001
Posts: 73
posted
0
Hi Sona. What is IATA? -Angelo
Amit Barot
Greenhorn
Joined: May 29, 2001
Posts: 13
posted
0
IATA ? International Air Travel Agent?
rajashree ghatak
Ranch Hand
Joined: Mar 10, 2001
Posts: 151
posted
0
IATA stands for Item,Action,Text,Adjustment events which have only one method and hence no corresponding adapter classes for them in AWT. rajashree.