Declare Class Members Because method and variable members are usually given access control in exactly the same way, we'll cover both in this section. Whereas a class can use just two of the four access control levels (default or public), members can use all four: public protected default private