• Post Reply Bookmark Topic Watch Topic
  • New Topic

I/O Files and streams

 
Mitchell McKnight
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • 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
 
pete stein
Bartender
Posts: 1561
  • Mark post as helpful
  • send pies
  • 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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!