Team1/Moving and copying Java elements

From CDOT Wiki
Revision as of 11:20, 30 January 2011 by Minooz (talk | contribs) (Created page with ' === 6. Moving and copying Java elements === 5.1. Go to the "src" folder in your package and right click on it, then select: ''New -> Class''<br/> [[Image:newclass1.jpg |600px]…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


6. Moving and copying Java elements

5.1. Go to the "src" folder in your package and right click on it, then select: New -> Class
Newclass1.jpg


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.
Newclass2.jpg


5.3. The following code will be the content of the VehicleRegistration class in cs.ecl.basics.lab package.
Newclass3.jpg