Open main menu

CDOT Wiki β

Team1/Creating a Java class

Revision as of 14:08, 24 January 2011 by Minooz (talk | contribs)

5. Creating a java class
Go to the "src" folder in your package and right click on it, then select: New -> Class

EclLab1 1.jpg


In the "New Java Class" window, write down your class name, e.g."Lab" and check the "public static void main(String[] args)"

EclLab1 2.jpg


The following code will be the content of the Lab1_1 class.

EclLab1 3.jpg