Renaming Java elements

From CDOT Wiki
Revision as of 12:31, 24 January 2011 by Minooz (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

6. Renaming Java elements
Go to the "src" folder in your package and right click on it, then select: New -> Class

EclLab1 4.jpg


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

400px


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

500px


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

500px