Java Packages and Interfaces Conclusion
This module explored packages, access modifiers, and interfaces.
You began the module by learning about packages and how they allow you to organize Java classes into functional groups.
From there you learned about access modifiers which provide a means of controlling access to classes, member variables, and methods.
Finally, you wrapped up the module by taking a look at interfaces, which provide a means of defining the general design for a class
without getting into the details of an implementation.
This module discussed how the following terms relate to Java:
- Package: A package is a collection of reusable classes and interfaces.
- Interface: An interface is a set of methods that Java classes can implement.
- Access modifier: Access modifiers define different levels of access for class members including private, protected, public, and a default access level.
Do you have any questions or comments about the material covered so far in this course?
Click the search button located at the top of this page.
Packages Interfaces - Quiz