Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Imp IO classes

 
Santhosh Kumar
Ranch Hand
Posts: 242
  • 0
  • 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?
Thanks.
 
VIJAYKUMAR VADDEM
Greenhorn
Posts: 21
  • 0
  • 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
questions
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 :
File
RandomAccessFile
ObjectStreams
FilterStreams
bye!
vijay

 
Jane Griscti
Ranch Hand
Posts: 3141
  • 0
  • 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
<pre>
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
constructors

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

</pre>
Hope that helps.
------------------
Jane
The cure for boredom is curiosity.
There is no cure for curiosity.
-- Dorothy Parker
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic