home *** CD-ROM | disk | FTP | other *** search
- Static data members must be defined before they are used, and can
- be assigned initial values. These two statements show how to
- define the public and private static data members of the class
- Weather. You can include an assignment to an initial value in the
- definition of a static data member. The right-hand side of the
- assignment must be an expression of appropriate type. Like other
- static variables, static data members have a default initial value
- of 0.
-