php    php100   android
當前位置:首頁 » Eclipse教學 »

Eclipse - 創建Java包 評論   編輯

Opening the New Java Package wizard

You can use the New Java Package wizard to create a Java package. The Java Package wizard can be opened in different ways:

  • By clicking on the File menu and selecting New > Package

  • By right click in the package explorer and selecting New > Package

  • By clicking on the package icon which is in the tool bar(Eclipse - 創建Java包 )

If you are creating a sub package, before opening the Java Package wizard select the parent packageso that name field can have a default value in it.

Using the New Java Package wizard

Once the Java Package wizard comes up:

  • Enter/confirm the source folder name

  • Enter the package name

  • Click on the Finish button

Viewing the newly created package

The package explorer will show the newly created package under the source folder.

Eclipse - 創建Java包

貢獻/合作者

正在開放中...
 

評論(0條)

  • 還冇有評論!