aspose file tools*
The moose likes Beginning Java and the fly likes Code do not run Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Code do not run" Watch "Code do not run" New topic
Author

Code do not run

paulo cs
Ranch Hand

Joined: Dec 30, 2008
Posts: 34
Below is my code. How can I do run it?



Paulo Correa, Desenvolvimento de Software, (55 19)8126-8418
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38340
    
  23
How on earth do you get it even to compile? You are trying to put a method inside another method? That is prohibited.

TryDon't try an argument > 12.
paulo cs
Ranch Hand

Joined: Dec 30, 2008
Posts: 34
Thanks for the answer. I need to practice more. I'm delphi's programmer and I'm learning Java, so I have some basic doubt. I forgot constructor NEW.
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38340
    
  23
You're welcome

Look for some books. An experienced programmer might like the books by Horstmann and Cornell.

Look at the Java™ Tutorials. Although there are some things in there I disagree with, it is probably the most comprehensive Java™ reference I have ever seen.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Code do not run