Changes

Jump to: navigation, search

Team1/Creating a Java class

10 bytes removed, 12:20, 30 January 2011
no edit summary
=== 5. Creating a Java class inside a package ===
=== Creating a Java class inside a 5.1. Go to the "src" folder in your package ===and right click on it, then select: ''New -> Class''<br/>[[Image:newclass1.jpg |600px]]
1<br/>5.12. Go to In the ''New Java Class'' window, write down your class name, e.g."srcVehicleRegistration" folder in your package and right click on it, then select: check the ''New -> Classpublic static void main(String[] args)''. Press Finish to close the window.<br/>[[Image: newclass1newclass2.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/>15.3. The following code will be the content of the ''VehicleRegistration'' class in ''cs.ecl.basics.lab'' package.<br />[[Image: newclass3.jpg | 500px 600px ]]
1
edit

Navigation menu