Differences between package, source folder, and folder in eclipse + myeclipse
1. In eclipse, packages, source folder, and folder are all folders, but they are different;
2. Package: When you create a package, it is automatically created under source folder and can only be created under this directory.
3. source folder: a folder for storing Java source code, including some package folders and other files.
4. After the project is built, the Java in source folder is automatically compiled into a class file to the corresponding bin folder, and other files are moved to the corresponding directory.
5. Folder: contains any file. including Java source files, Jar files, and other files (such as images and sounds ). here I will explain that if the Java source file is contained, eclipse will not report errors no matter whether the program is correct or not, and treat them as common files. however, if you want to use the files in the project, the situation is different.