• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Java IO

 
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Am Struggling on Java io for the past few days without success. Have read RHE, but am completed unsatisfied. Can anybody give any useful reading on this topic.
 
Ranch Hand
Posts: 89
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Shiraz,
Have you tried writing any code for IO ? IO as such is a pretty confusing topic. I found that writing simple code to manipulate files helped. I tried doing this to write textual files and primitive data. Often had to look up the APIs while doing this and it helped me understand it better and remember the key classes and constructors. Just started this exercise and I am still working through it.
Regards
Sajida
 
Shiraz Bhagwagar
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Sajida,
This is one of the two topics (Threads being the other) that I am not able to write small programs for. There are no programs explained either. Can you suggest any good sites where I can learn them from. Effort to learn, not a problem. I need some real clearcut explaination for these chapters.
Regards,
Shiraz
 
sajida kal
Ranch Hand
Posts: 89
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Shiraz,
For starters, you could look at Sun's online tutorial. It has simple programs for both threads and IO which will help you understand the basics. Once you do that, you can take a particular class and play around with it by looking at the API and calling its methods. Trying it out yourself is the best way to learn.
Bruce Eckels book "Thinking in Java" is a free downloadable book available at www.bruceeckel.com. It has comprehensive code examples and explanations.
Happy coding and learning!
Sajida
 
Ranch Hand
Posts: 232
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i know what you mean shiraz,
seems like each java book i have takes a different tack
on this subject. at the moment, i'm most happy with
horstmann's core java vol.1.
 
Shiraz Bhagwagar
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Sajida and John,
Thanks a lot for the advice. Will make it a point to refer to both the sun tutorials and Bruce Eckel.
I think John got exactly what I intended to get across. Will also look up the book John suggested.
Regards,
Shiraz
 
reply
    Bookmark Topic Watch Topic
  • New Topic