|
-
February 19th, 2011, 12:48 PM
#1
Chord Java Program Main Undefined
I have a chord java sample program which doesn hve a main. It has multiple class files but none have a main. How 2 create a main function 4 tis program? What 2 pass in as arguments, how to initialize since some of the arguments r of type Chord.
-
February 20th, 2011, 03:07 PM
#2
Re: Chord Java Program Main Undefined
Put a 'main' method into one of the classes, or write a separate class that has a 'main' method. In the main method, create and use the objects you need. See The 'main' Method.
Please use plain English when posting so everyone can follow.
Why do we never have time to do it right, but always have time to do it over?
Anon.
Please use [CODE]...your code here...[/CODE] tags when posting code. If you get an error, please post the full error message and stack trace, if present.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|