Easy Tutorial
❮ Eclipse Explore Views Eclipse Workspaces ❯

Eclipse Create Java Class


Open the New Java Class Wizard

You can use the New Java Class Wizard to create a Java class. You can open the Java Class Wizard through the following methods:

Before opening the Java Class Wizard, it's best to select the package name to which the Java class belongs, so that the package name field will be automatically filled in when creating the Java class.


Using the New Java Class Wizard

In the pop-up window of the Java Class Wizard, you can perform the following actions:

View the New Java Class

In the Package Explorer view, we can see the newly created class, and we can modify the code through the Java editor on the right.

❮ Eclipse Explore Views Eclipse Workspaces ❯