Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

Eclipse Creating a Java Class

Eclipse Creating a Java Class


Opening 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 in the following ways:

Before opening the create Java class wizard, it is best to select the package name the Java class belongs to, so that the package field will be filled in automatically when creating the Java class.


Using the new Java class wizard

In the Java class wizard dialog, you can perform the following operations:

Viewing the new Java class

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