• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Paul Clapham
  • paul wheaton
Sheriffs:
  • Tim Cooke
  • Devaka Cooray
  • Rob Spoor
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:

I/O Classes

 
Ranch Hand
Posts: 106
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Is there is any good thread/link about the constructors for I/O classes.
Its really difficult to remember and confusing.
 
Sheriff
Posts: 4313
Android IntelliJ IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
swati-
Have you tried using our handy dandy search utility? You can search for all sorts of terms within in this or ANY forum.
Check it out -- it might be faster than waiting for someone else to find a helpful thread for you.
 
Ranch Hand
Posts: 411
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Download Chapter 18 from Khalid Mughal's SCJP Preparation Book:
http://www.ii.uib.no/~khalid/pgjc/jcbook/sample-chapters.html
I found it very useful
Jamal Hasanov
www.j-think.com
 
Ranch Hand
Posts: 295
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I agree with Jamal. The URL which he posted for IO is quite good for reading.
Apart from that, you still need to practice some codes on IO.

Clement
SCJP2
 
Ranch Hand
Posts: 94
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Is chp 18 from mughal sufficient for the exam preparation?(for I/O).
Is there any other notes/books that u would recommend?
 
Swati Gupta
Ranch Hand
Posts: 106
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Jessica. The search utility is really helpful. But I realise that I am again spending a lot of time reading threads.
I have gone the I/O chapter in KAM but the problem is that its hard to remember and I get when I try solving the mock exams. I will try writing more codes
Thanks.
 
Ranch Hand
Posts: 3271
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by geetha nagarajan:
Is chp 18 from mughal sufficient for the exam preparation?(for I/O).


Yup. There's lots there and it's plenty for the exam.


Is there any other notes/books that u would recommend?


Obviously, other texts (such as RHE) will cover this topic as well, but the sample chapter above has everything you'll need and then some.
Corey
 
Ranch Hand
Posts: 143
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Swati,
I really struggled with I/O but this Link helped me to clear my doubts. Chapter 10/11/21/22/23 and chapter 82 to 87. Khalid is good compared to RHE in I/O , probably need more revisions.
-Arun
 
Ranch Hand
Posts: 2120
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Have you tried the Java Tutorial ?
and the masterpiece Thinking in Java ?
 
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What worked for me, was to just write down all the IO classes, and then just go to the API documentation on the Sun site and figure out the hierarchy myself, instead of copying out and trying to memorise someone elses chart.
You can also make a list of what constructors take what types of I/O classes. I made a tree similar to this:
OutPutStreamWriter(InputStream in, String encoding)
|
|-> FileWriter(File f, or String s, opt. boolean append)
...etc.
I found that a lot simpler than going through chapters to figure out how it all works together. Once you've got it memorized in a form like this, then go through a chapter on it again, and you will learn a lot more!
Hope this helps!
 
Swati Gupta
Ranch Hand
Posts: 106
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
thanks everyone.
 
No. No. No. No. Changed my mind. Wanna come down. To see this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic