Home > Java > Javagetting Started > How to create a java package using eclipse

How to create a java package using eclipse

王林
Release: 2019-11-21 17:46:42
Original
5833 people have browsed it

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template