Changes

Jump to: navigation, search
Controlling Access to Instance Variables
float interestRate;
}
</pre>
In the above example, ''accountbalance'' will default to ''protected access'' since it is not preceded by a directive, ''accountNumber'' and ''accessCount'' are both ''private'' and ''interestRate'' is public.

Navigation menu