IntelliJ Java IDE
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes All SCJP gurus..... HELP - -- -IO Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Professional Certification » Programmer Certification (SCJP/OCPJP)
Reply Bookmark "All SCJP gurus..... HELP - -- -IO " Watch "All SCJP gurus..... HELP - -- -IO " New topic
Author

All SCJP gurus..... HELP - -- -IO

Amit Tyagi
Ranch Hand

Joined: Oct 18, 2000
Posts: 52
hi,
Congratulations to all who have passed this exam.....
I am talking my exam on 4th, and getting mad in doing the IO.
I just need information about the IO Package .
Are they asking questions from all the Streams.(like pushback linenumber, streamtokenizer etc....Long list)?
if not, then please highlight those which are coming in exam.
The reply of 3-4 person and subsequent conclusion will give a lot of idea about it.
This will help me as well as others who are finding it difficult to memorize all the methods and constructors of IO package.
Please reply immediately.....

Amit Tyagi
Mapraputa Is
Leverager of our synergies
Sheriff

Joined: Aug 26, 2000
Posts: 10065
Amit, while waiting for folk's response, you can read this and this threads.


Uncontrolled vocabularies
"I try my best to make *all* my posts nice, even when I feel upset" -- Philippe Maquet
Udayan Naik
Ranch Hand

Joined: Oct 18, 2000
Posts: 135
Hi Amit.I took the exam 3 months ago and it was the old one , so i cant really give u inputs regarding the new exam.But i got about 3 questions from the IO package.2 of them were regarding the basics , like Stream hierarchy and compatibility.The third one was from the RHE .I got a shock when i initially saw that one.It's there in plain sight in the RHE.I cant really post that here.But what i will advise u to do is READ EVERY LINE OF RHE.This pertains not only for IO but for all sections.
BEST OF LUCK for the exam.
------------------
Come on in !! Drinks are on the house in the Big Moose Saloon !!
[This message has been edited by Udayan Naik (edited November 01, 2000).]


Udayan Naik<BR>Sun Certified Programmer for the Java 2 Platform
ranga akarapu
Greenhorn

Joined: Oct 28, 2000
Posts: 3
hi Amit
Best of Luck.,
ranga..
Kishan Kumar
Ranch Hand

Joined: Sep 26, 2000
Posts: 129
Hi,
I took the exam last month and let me tell you IO is the one
topic where it is easy to score 100 %. All the questions were
concentrating on the constructors of important IO classes, Each
class has about 3-4 consrtructors and remembering them is easy
since stream and reader classes are just replicas. Please
gothrough my notes below and see whether it is of any help to
you.
Java.IO;
--------
1. interface DataInput
readByte
readUnsignedByte
readShort
readUnsignedShort
readChar
readInt
readLong
readBoolean
readFloat
readDouble
readLine
String readUTF
2. interface DataOutput
opposite of DataInput.

3. abstract class InputStream
ObjectInputStream
public ObjectInputStream(InputStream in)
FileInputStream
FileInputStream(String s)
FileInputStream(File f)
FileInputStream(FileDescriptir fd)
ByteArrayInputStream
public ByteArrayInputStream(byte bytearray[])
public ByteArrayInputStream(byte bytearray[], int offset, int length)
StringBufferInputStream
public StringBufferInputStream(String s) {
SequenceInputstream
PipedInputStream
FilterInputStream
FilterInputStream(InputStream in);
DataInputstream
DataInputStrem(InputStream in);
same as DataInput
readUTF(DataInputStream in);
BufferredInputStream
public BufferedInputStream(InputStream in) {
public BufferedInputStream(InputStream in, int size) {
PushBackInputStream
LineNumberInputstream
4. StreamTokenizer
5. abstract class OutputStream
FileOutputStream
FileOutputStream(String)
FileOutputStream(String s, boolean append)
FileOutputStream(File f)
FileOutputStream(FileDescriptor fd)
ByteArrayOutputStream
public ByteArrayOutputStream() //creates a buffer of size 32.
public ByteArrayOutputStream(int size)//creates the buffer of specified size.
writeTo(OutputStream out)// simillar toout.write(buffer,o,count);
byte[] toByteArray()
PipedOutputstream
FilterOutputStream
public FilterOutputStream(OutputStream);
BufferredOutputStream
public BufferedOutputStream(OutputStream in) {
public BufferedOutputStream(OutputStream in, int size) {
PrintStream
public PrintStream(OutputStream out, boolean autoFlush)
public PrintStream(OutputStream out) //default false
print,println,write methods are here.
DataOutputstream
DataOutputStream(OutputStream out);
same as Dataout.
6. RandonAccessFile
7. File
8. FileDescriptor
9. interface FilenameFilter
10. FileReader
Filereader(String s)
FileReader(File file)
FileReader(FileDescriptor fd)
FilterReader
protected FilterReader(Reader in)
FilterWriter
protected FilterWriter(Writer out)
11. FileWriter
Filereader(String s)
FileReader(String s,boolean append)
FileReader(File file)
FileReader(FileDescriptor fd)

10. FilterOutputReader
CharArrayWriter
public CharArrayWriter()//chararray of 32 bytes
public CharArrayWriter(int size);//chararray of specified bytes.
writeTo(Writer wr);
toCharArray()
void write(char c[], int off, int length);
void write(String s,int offset, int length);
BufferedWriter
public BufferedWriter(Writer,int size)
public BufferedWriter(Writer); default size = 8192.
void newLine(); //Will write a end of line.
11. FilterInputReader
BufferedReader
public BufferedReader(Reader,int size)
public BufferedReader(Reader); default size = 8192.
String readLine();
CharArrayReader
public CharArrayReader(char ch[]e)
public CharArrayReader(char c[],int offset,int length);
12. InputStreamReader
public InputStreamReader(InputStream in)
public InputStreamReader(InputStream in, String enc)

13. OutputStreamWriter
public OutputStreamWriter(OutputStream out, String enc)
public OutputStreamWriter(OutputStream out)//default character encoding.
14. Stringreader
public StringReader(String s)
15. StringWriter
public StringWriter(int initialSize)
public StringWriter()
getbuffer() returns string buffer
toString() returns string
write(String)
write(string , int,int);
16. Writer - abstract
write(String)
write(String , int, int);

10. IOException
EOFException
InterruptedIOException
FileNotFoundEception
UTFDataFormatException
These were part of my preperation for the exam. It is up to you
to see whether it reduces your fear about IO.
Thanks
V. Kishan Kumar


Regards,<BR>V. Kishan Kumar
shanks iyer
Ranch Hand

Joined: Oct 16, 2000
Posts: 47
Thanks Kishan ,
It will be of great help !!!
Regards,
Shankar.
 
IntelliJ Java IDE
 
subject: All SCJP gurus..... HELP - -- -IO
 
Threads others viewed
calling value from servlet in jsp
Book written by JavaRanch folks
Bubonic Chronic
Who killed Jake the Snake ? (puzzle)
What happened?
IntelliJ Java IDE