• Post Reply Bookmark Topic Watch Topic
  • New Topic

Imp IO classes  RSS feed

Santhosh Kumar
Ranch Hand
Posts: 242
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, can somebody pl list out imp I/O classes we need to study for the exam?
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hai Santhosh
in my opinion all the classes are important for the exam
you can't take the test on the basis of previous exam
but the important point to remember here is only the
constructers are important
you got to remember all of them
still if you want to take a risk with this topic
concentrate on :

Jane Griscti
Ranch Hand
Posts: 3141
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Santhosh,
I pulled this info from a post Ajith made on November 9th
You will need to know atleast the folllowing -

Hierarchy of IO classes
The abstract classes and interfaces. The concrete classes that implment them.
The "chaining" of one stream to another to achieve what you want. ie., given a
situation( or a requirement, ) you should be able to choose the best possible
way to chain the streams together.
The encoding stuff, the default encoding schema, and the IO classes capable of
making use the encoding specifications.
The DataInput( and DataOutput ) streams. How bytes are written/read back from
these streams. How "big" are different data-types.
Different overloaded read and write methods supported by streams.
The PrintStream class and the overloaded Println methods defined in there. Also
the autoflush mechanism.
The variouis methods in the IO classes that throws exceptions. Know the
hierarchy of IO exceptions.
The File class, and various methods on it. Know which of them throw exceptions
and which of them return values.
The methods on the File class that permanently affects the underlying
file system.
The methods on the File class that determine various properties of the
underlying file. Their syntax and return values.
Various ways of representing a file and all the overloaded File class

The RandomAccessFile class - pay attention to the constructor and the methods
to move your file pointer back and forth. You should be able to calculate how
many bytes the pointer moves when you read/write different data types.
How to extract an input or an output stream from a Socket.
In addition to these things, make sure you have read read all the things mentioned in
the SCJP objectives under the java.io package

Hope that helps.
The cure for boredom is curiosity.
There is no cure for curiosity.
-- Dorothy Parker
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!