- Course
Java SE Foundations: Classes, Packages, and Access Control
This course will teach you to define Java classes, organize them into packages, and manage visibility of their members with access modifiers.
- Course
Java SE Foundations: Classes, Packages, and Access Control
This course will teach you to define Java classes, organize them into packages, and manage visibility of their members with access modifiers.
Get started today
Access this course and other top-rated tech content with one of our business plans.
Try this course for free
Access this course and other top-rated tech content with one of our individual plans.
This course is included in the libraries shown below:
- Core Tech
What you'll learn
Large Java programs don't "live" in a single file. In this course, Java SE Foundations: Classes, Packages, and Access Control, you'll learn to organize and encapsulate code.
First, you'll explore the difference between instance and static class members. Next, you'll discover how one can move classes into different packages and how it affects the import statements, necessary for the code to compile. Finally, you'll learn the difference between different visibility modifiers and how they help improve class encapsulation.
When you’re finished with this course, you’ll have the skills and knowledge of Java class structure and access control needed to organize, protect, and maintain clean, modular Java applications.