• 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

I/O Files and streams

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I need help with this program also. I have looked high and low an can't fine any example to help me on this one either. our instructor is no help at all. this is my last class before a get my degree and I have just about decided to drop out. Please help me. also if you know where I can get a tutor for java that wouldnt cost me a arm and a leg because I dont have much money.

This is the contents of the Text file: the first number is the ProductID, the middle string is the Product names and the last is the Product prices.
1001 Rake 20.00
1002 Hose 15.00
1003 Lawnmower 200.00

here are the direction:

Develop an application that reads the product file created in Phase 1 DB (which was my first assignment) and prints the contents of the file to the screen.

I have to use a scanner class and i need to use a system.out to print to the screen but i cant figure out how to put it together.

The IDE i am using is NetBeans 6.5

Thank you for the help on the last question it helped alot.

Mitchell
 
Bartender
Posts: 1561
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sorry to hear of your dilemma. I know of no solution here other than your doing some serious studying of Java as soon as possible and as hard as possible. You can find some excellent tutorials here: The Java Tutorials

and a decent index for the tutorials here: http://java.sun.com/docs/books/tutorial/reallybigindex.html

Best of luck.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic