A (175)

(Tuis.) #1
CHAPTER 5: Introduction to Java: Objects, Methods, Classes, and Interfaces 161


  1. To create a New Java Class, right-click on the /src folder, as shown in
    Figure 5-4, and select the New ➤ Class menu sequence, which will bring
    up the New Java Class dialog, which allows you to enter all of the pertinent
    information needed for Eclipse to create a “bootstrap” Galaxy.java class
    infrastructure for you.


Figure 5-3. Eclipse with central editing pane cleared for Java editing, and /src folder open showing files


Figure 5-4. Right-click on the HelloUniverse/src folder, and then select the New ➤ Class menu sequence

Free download pdf