Home  >  Article  >  Java  >  How to change the package name in eclipse

How to change the package name in eclipse

little bottle
little bottleOriginal
2019-05-28 15:35:0513426browse

We know that packages in eclipse are used to better organize classes. Java provides a package mechanism to distinguish the namespace of class names. Let’s talk about how to change the package name.

How to change the package name in eclipse

Right-click your package name in eclipse -->Refactor -->Rename --> Check the following two options (two must be selected, only If you choose the first one, it will be a new package)

Isn’t it very simple?

How to change the package name in eclipse

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