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.
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?
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!