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

Eclipse Creating a Java Interface

Eclipse Creating a Java Interface


Opening the new Java interface wizard

The new Java interface wizard can create new Java interfaces. The ways to open the wizard are:

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


Using the new Java interface wizard

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


Viewing the new java interface

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