Day 6. Packages, Interfaces, and Other Class Features
Classes, the templates used to create objects that can store data and accomplish tasks, turn up in everything you do with the Java language.
Today, you extend your knowledge of classes by learning more about how to create them, use them, organize them, and establish rules for how other classes can use them.
The following subjects are covered:
Controlling access to methods and variables from outside a class
Finalizing classes, methods, and variables so that their values or definitions cannot ...
Get Sams Teach Yourself Java™ in 21 Days (Covering Java 8), Seventh Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.