Home > Java > javaTutorial > How to modify package name in Java

How to modify package name in Java

(*-*)浩
Release: 2020-10-12 16:27:55
Original
22657 people have browsed it

How to modify package name in Java

This article will explain how to simply modify the package name, but if the package has many levels and many references and associations, then this is for reference only.

If you want to know more complete and updated recommendations: Java tutorial

How to modify the package name in java:

The first step is to right-click the package you want to rename and select [Refactor] → [Rename].

How to modify package name in Java

The second step is to change the package name in the [New name] text box, check Update references, Rename subpackages, and click [ok]

How to modify package name in Java

The third step, if a pop-up window appears midway, click [continue], then you can see that the package name in the package explorer has changed. .

How to modify package name in Java

The above is the detailed content of How to modify package name in Java. 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