The difference between source Folder,package,folder in MyEclipse

Source: Internet
Author: User

1, under Eclipse, package, source folder, folder are folders. But they are distinguished as;

2. Package: When you build a package, it is automatically built into the source folder, it can only be built under this directory.

3. SOURCE folder: Folders that store Java source code, and of course include some package folders, and can also contain other files.

4. After the project is built, the Java in source folder is automatically compiled into a class file into the corresponding Bin folder, and the other files are moved to the corresponding directory.

5, folder: Can be placed in any file. Includes Java source files, jar files, other files (for example, pictures, sounds, etc.). Here I explain that if it contains Java source files, regardless of whether the program is correct, Eclipse will not error, Treat them as ordinary files. But if the project is to use the files in it, the situation will be different.

The difference between source Folder,package,folder in MyEclipse

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.