Wednesday, December 1, 2010

how to create class variable

class variables are those variables which are accessible at class level. There are two rules for them
1) those variables must be within the class boundary.
2)must place a word static before variables. The static word comes before data type(int,float) of variables.

No comments:

Post a Comment