Magazine
 
Eclipse IDE
 


and click on the new->class. Specify the name of your
choice for the class (“HelloClass”). Unclick Inherited
abstract methods, and click public static void
main(String[] args). Click radio button labeled public
to select modifier for a simple program and click Finish.

4. Now a window opens containing a java program
with the main() method. This program will be according
to the information provided before.


 

5. You can now modify the program according to your requirement.

6. Click Window->Show View->Console. A console window will open at the bottom. If a Console tab is already there, just click on it.

7. Eclipse compiles the program as we type. If there
is no any red mark in the window of the program, it
means program is syntactically correct. Save this file



clicking on File->Save or press Ctrl+s in the keyboard. If
there is any error then you will see red circle on the left

July 2007 | Java Jazz Up | 20
 
previous
index
next
 
Pages: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30,
31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53 ,            Download PDF