Please enable JavaScript to use CodeHS

AP CSA: MOD-2.H.3

CodeHS Lessons

Static variables are used with the class name and the dot operator, since they are associated with a class, not objects of a class.

Standard
5.7 Static Variables and Methods
Standard
4.7 Class Methods and Class Variables
Standard
7.7 Static Variables and Methods
Standard
6.7 Class Methods and Class Variables
Standard
11.7 Static Variables and Methods
12.7 Class Methods and Class Variables
Standard
11.7 Static Variables and Methods
18.7 Class Methods and Class Variables
Standard
6.7 Class Methods and Class Variables