A package can contain multiple classes and interfaces.
A folder can contain multiple packages, but folders are more an operating system concept. The only Java piece is that the classes and interfaces in a package should reside a folder whose name derives from the package name.
Project is not a Java concept, but it is important in IDE's like NetBeans 4.0. I think a project can contain multiple packages, but that depends on the IDE.
SCJP 1.4, SCWCD in process
Joined: Mar 13, 2004
'No modifier' means accessable in package only not outside the package.
Is they r accessible out side the folder but inside the package.
No classes or interfaces inside a package should be outside the folder whose name is derived from the package name.
Please avoid IM slang like "r" for "are". Perfect English grammar is not important, but many people who are just learning both English and Java find these strange abbreviations very confusing. Thank you. Mike