Fragmented · February 13, 2017

073: Effective Java - Item #14

In this mini-Fragment episode, Donn talks about Item #14 of the Effective Java series - In public classes, use accessor methods, not public fields. You'll learn why it's important to use accessors in your public classes and some caveats to this rule.

For example, you may decide that the class is a private inner class or package private. Donn digs into the details in this week's episode. This is a glimpse of what's to come in Item #15, which is coming soon...

Show Notes

Sponsor

Contact

Copyright 2024 Spec Network, Inc.