Home  >  Article  >  Java  >  How to create a java package using eclipse

How to create a java package using eclipse

王林
王林Original
2019-11-21 17:46:425808browse

How to create a java package using eclipse

1. By clicking the "File" menu and selecting New > Package

2. In the Package Explorer, by right-clicking the mouse, select > Package

3. Click the package button on the toolbar

If you want to create a sub-package, select the parent package before opening the Create Java Package Wizard, so that the name field has the value of the parent package.

You can perform the following operations in the wizard pop-up box (New Java Package):

1. Enter the resource folder name (Source Folder field)

2. Enter the package name (Name field)

3. Click the "Finish" button

How to create a java package using eclipse

#View the new package

In the resource folder of Package Explorer we You can view the newly created package.

How to create a java package using eclipse

Recommended tutorial: java quick start

The above is the detailed content of How to create a java package using eclipse. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn