Changes

Jump to: navigation, search

Team1/Creating a Java class

154 bytes added, 12:20, 30 January 2011
no edit summary
'''=== 5. Creating a java Java class '''<br/>Go to the "src" folder in your inside a package and right click on it, then select: New -> Class [[Image:eclLab1_1.jpg|500px ]]===
<br/>In 5.1. Go to the "New Java Classsrc" window, write down folder in your class namepackage and right click on it, e.g."Lab" and check the "public static void main(String[] args)"then select: ''New -> Class''<br/> [[Image:eclLab1_2newclass1.jpg|400px 600px]]
<br/>5.2. In the ''New Java Class'' window, write down your class name, e.g."VehicleRegistration" and check the ''public static void main(String[] args)''. Press Finish to close the window.<br />[[Image:newclass2.jpg |500px ]] <br/>5.3. The following code will be the content of the Lab1_1 ''VehicleRegistration'' classin ''cs.ecl.basics.lab'' package.<br /> [[Image:eclLab1_3newclass3.jpg|500px 600px ]]
1
edit

Navigation menu