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

Question about structure of Java programs

Dianne Calhoun
Greenhorn

Joined: Sep 25, 2001
Posts: 29
I'm wondering what the pattern of creating java programs is. I'm having problems knowing exactly what it is that I need to have in the programs to make them work properly. Is there a set sequence of steps that have to happen? Thanks for your help.
------------------

Thanks, Dianne
Dianne Calhoun
Greenhorn

Joined: Sep 25, 2001
Posts: 29
Sure I would be interested in your reference links. Thanks.
------------------
Thanks, Dianne
Martin Rennix
Ranch Hand

Joined: Sep 30, 2001
Posts: 34
I'm not sure what you mean? Can you expand a little bit?
Martin
Dianne Calhoun
Greenhorn

Joined: Sep 25, 2001
Posts: 29
Well, I know you need the following
public class Problem
{
public static void main( String args[] )
{
Do you always have to have a constructor? What are items that have to be in the program for it to run? I took a beginning C++ class and they had certain things that had to be in the program, so I always knew I had to follow a certain pattern. I'm not seeing a pattern to follow here. There might be one, and that's what I'm asking. The fellow who answered me right before you is probably right in saying, my question's answer is to long for here and to get a book. I do have some books, but I was just wondering if there was certain things that always needed to be in the program. He answered the above things that I copied into this post, and said to get a book. So, I thought maybe there might be a short answer, but I guees I'll have to do some more studying.
------------------
Thanks, Dianne
Marilyn de Queiroz
Sheriff

Joined: Jul 22, 2000
Posts: 9046
    
  10
Minimum for an application
this link and this one may be useful to you.

and variations for an application. (Applet requirements are different.) Java has lots of default stuff that takes care of the basics which is why you can get away with so little in a "HelloWorld" type application.

JavaBeginnersFaq
"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
Dianne Calhoun
Greenhorn

Joined: Sep 25, 2001
Posts: 29
Thank you. I'll definitely take a look at those places. I had already looked at the tutorial, and was going to do that when I get the book they said to buy. That was a really helpful example too. Thanks for taking the time to post it.
------------------
Thanks, Dianne
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Question about structure of Java programs