Home Segments Top Top Previous Next

659: Mainline

You can arrange the access limits shown in Segment 658 by marking the variable with the private keyword.

Alternatively, you can mark an instance variable with the protected keyword, rather than with the public or private keywords.