Difference between revisions of "Team1/Renaming Java elements"
Line 1: | Line 1: | ||
'''6. Renaming Java elements ''' | '''6. Renaming Java elements ''' | ||
<br/>Go to the "src" folder in your package and right click on it, then select: New -> Class | <br/>Go to the "src" folder in your package and right click on it, then select: New -> Class | ||
− | [[Image:eclLab1_4.jpg|500px ]] | + | <br/>[[Image:eclLab1_4.jpg|500px ]] |
<br/>In the "New Java Class" window, write down your class name, e.g."Lab" and check the "public static void main(String[] args)" | <br/>In the "New Java Class" window, write down your class name, e.g."Lab" and check the "public static void main(String[] args)" |
Revision as of 12:29, 29 January 2011
6. Renaming Java elements
Go to the "src" folder in your package and right click on it, then select: New -> Class
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