my dog learned polymorphism*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Important I/O Constructors and methods Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Important I/O Constructors and methods" Watch "Important I/O Constructors and methods" New topic
Author

Important I/O Constructors and methods

DD
Ranch Hand

Joined: Oct 13, 2000
Posts: 66
Hi All,
could anybody point me towards a resource on the Web which has all the important I/O Constructors and methods needed for the exam neatly listed on a page or two?
It would really be a very helpful resource
Thanks in advance,
-Deb
[This message has been edited by Debabrata Deb (edited October 26, 2000).]
Simon Roberts
Author
Greenhorn

Joined: Oct 24, 2000
Posts: 16
You're not really expected to memorize APIs for the exam. Sure, there's a couple of bits of the more commonly used stuff, but that's about the limit of it.
What you need to know is the <em>pattern</em> that applies to this stuff. You should know that File objects represent the path-and-filename, not the file itself. You should know that there are three key classes that allow interaction with files FileInputStream FileOutputStream RandomAccessFile. You should recognize that these may be constructed using File or String arguments, and you need to know how to control FileOutputStream for appending vs overwriting. Further, you need to know the (two) possible arguments that control read/read-write access to a RandomAccessFile.
The pattern you must understand is the way that IO streams can be daisy-chained together. This involves understanding the class hierarchy of streams. Recognizing which of the IO stream classes are input, output, and which are filters is valuable but don't bother to _learn_ them all, you just need to recognize. That's about it really.
Cheers,
Simon
Originally posted by Debabrata Deb:
Hi All,
could anybody point me towards a resource on the Web which has all the important I/O Constructors and methods needed for the exam neatly listed on a page or two?
It would really be a very helpful resource
Thanks in advance,
-Deb
[This message has been edited by Debabrata Deb (edited October 26, 2000).]


author of:<br /><ul type="square"><li><a href="http://www.amazon.com/exec/obidos/ASIN/0782128254/electricporkchop" target="_blank" rel="nofollow">The Complete Java 2 Certification Study Guide</a><li><a href="http://www.amazon.com/exec/obidos/ASIN/0782121799/electricporkchop" target="_blank" rel="nofollow">Java 2 Developer's Handbook</a></ul>
lakshmi nair
Ranch Hand

Joined: Oct 11, 2000
Posts: 63
Thanks Simon
That really makes life easier!!!
Regards
Lakshmi
Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
Thanks Simon,
if only I heard that a few weeks ago . Better late than never though right!!
Rgds,
Cav
DD
Ranch Hand

Joined: Oct 13, 2000
Posts: 66
Thank you very much Simon
(gulp ....it feels kinda out of the world having the person whose book I am using to prepare for SCJP answer one of my queries!!! I'll take that as a good omen )
your response has reassured me a bit as I was just about tearing my hair out trying to mug all the metods
Best Regards and happy flying
-Deb
p.s. incidentally just thought I'd add that I used the Java 2 Developers Handbook to clear my concepts in Thread ...that's pretty handy too
[This message has been edited by Debabrata Deb (edited October 26, 2000).]
Prasad Ballari
Ranch Hand

Joined: Sep 23, 2000
Posts: 149
Simon Roberts,
Its greate pleasure to have here.We can ask you really tough questions to get our concepts clear.Hope you will spare your valuable time for us.
Simon, Where can i get the Graphic view of API's as its very easy to visualize while programming.
If you don't mind, Can we know which plane did you buy.You are really inspiration for Us.
Regards.
Prasad
Marcus Green
arch rival
Rancher

Joined: Sep 14, 1999
Posts: 2813
I have been revising the I/O section of my tutorial recently (I even started before the recent question bank revision). It is still a work in process, but the stuff on the File class is rather good and it has a bunch of questions to test yourself with.
One thing to understand is that the RandomAccessFile is way out on its own and not related to the streams much at all.
You can see this stuff in my tutorial at
http://www.jchq.net
I/O is section 11 I think.
Note that this is very new stuff and thus may contain errors. Please let me know if you spot any.
Marcus

------------------
http://www.jchq.net Mock Exams, FAQ, Tutorial, Links, Book reviews
=================================================
Almost as good as JavaRanch
==================================================================


SCWCD: Online Course, 50,000+ words and 200+ questions
http://www.examulator.com/moodle/course/view.php?id=5&topic=all
DD
Ranch Hand

Joined: Oct 13, 2000
Posts: 66
Wow...
Now I have Marcus replying to my query too
This is great! Good omens galore
In fact Marcus...I am using u'r tutorial too to enhance my preparation..thanks for letting us know about the enhancement as the version I have was one I had d/led around a month back
thanks again
Best Regards
-Deb
[This message has been edited by Debabrata Deb (edited October 27, 2000).]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Important I/O Constructors and methods
 
Similar Threads
I am happy with 77%
Learning Java API
scjp (methods & classes)
Me too
Private Constructor