Packages are used to group related classes and prevent naming conflicts. Use the 'package' keyword at the top of the file.
← Java theorytheory 0/50 · 0%
Fundamentals · easy
6. Java Packages
Organizing Java classes.
Check your understanding
1. Keyword to use a class from another package?
2. Standard package for basic classes?