View Full Version : Chord Main Definition?
02-19-2011, 06:53 PM
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.
03-01-2011, 09:55 AM
Put the main method in the public class. Only one of the classes in a file can be public. Put the normal main syntax.
Please give more clarity in your question for helping you out further
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.