home *** CD-ROM | disk | FTP | other *** search
- You can control client code access to static members by using the
- data encapsulation keywords public, private, and protected. Here,
- for example, the data member entry_log could be recording the last
- time a Weather object was updated, or could be counting the number
- of instances of Weather objects that have been declared. The
- Weather class can use this variable, but the client code cannot
- see it.
-