2.19.2 Field and Method Visibility2.19.1 Class Visibility2.19 Visibility Modifiers2.19.3 Rules of Thumb

2.19.2 Field and Method Visibility

For fields and methods, we have four visibility modifiers: public, private, protected, and private protected.


© Wolfgang Schreiner; February 3, 2005

2.19.2 Field and Method Visibility2.19.1 Class Visibility2.19 Visibility Modifiers2.19.3 Rules of Thumb