aspose file tools*
The moose likes Beginning Java and the fly likes Just a bit of advice on my first program. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Reply locked New topic
Author

Just a bit of advice on my first program.

Michael Humphreys
Greenhorn

Joined: Dec 22, 2010
Posts: 23

Hi All, Well, I have been studying Java for just over a month and I have almost finished my first program. But as you see I am stuck. Below is a copy of the code for a program I wrote MANY years ago in Tandy Basic, written in Java. I don't understand why my System.out.println call won't work. A word of why would help. I don't want you to fix it just let me know how to fix it myself. Any help would be great. Here is the code:

Wouter Oet
Saloon Keeper

Joined: Oct 25, 2008
Posts: 2700

Please review UseCodeTags again because you made a small mistake with the tags. I fixed it for you. The correct syntax is:


"Any fool can write code that a computer can understand. Good programmers write code that humans can understand." --- Martin Fowler
Please correct my English.
Wouter Oet
Saloon Keeper

Joined: Oct 25, 2008
Posts: 2700

Please UseOneThreadPerQuestion. I'm closing this one. Continue here.
 
wood burning stoves
 
subject: Just a bit of advice on my first program.