Java Reference
In-Depth Information
3.
Type chapter1 in the “Project name” field.
4.
Click Finish. You can change a number of other options here. However, for
our purposes, the default settings work just fine.
Creating the Application
To create a class with a main method for your first program, follow these steps:
1.
Right-click the chapter1 project in the Eclipse Package Explorer, choose
New, and then choose Class. The New Java Class window displays, as
shown in Figure 1-8 .
Figure 1-8. Creating a Java class
 
Search WWH ::




Custom Search