Changes

Jump to: navigation, search

Team1/Creating a Java class

164 bytes added, 13:20, 29 January 2011
no edit summary
'''5. Creating a java class '''
<br/>Go to the "src" folder in your package and right click on it, then select: New -> Class
[[Image:eclLab1_1.jpg|500px ]]
<br/>In the "New === Creating a Java Class" window, write down your class name, e.g."Lab" and check the "public static void main(String[] args)" [[Image:eclLab1_2.jpg|400px ]]inside a package ===
1.1. Go to the "src" folder in your package and right click on it, then select: ''New -> Class''<br/>[[Image: newclass1.jpg | 500px]]  <br/>1.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/>1.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 ]]
1
edit

Navigation menu