java subclass method referring to field in superclass help!
<p>I have a subclass called savingsaccount. I want the method(addInterest) in savingsaccount to refer to a field in the superclass called balance. It says that balance has private access. How do i go around getting rid of this? I'm not allowed to set the field in the superclass to anything else other than private. ANy help is appreciated. This is the method in savingsaccount.</p>

<pre><code>public void addInterest()
{
    deposit(balance * interestRate / 100);
}
</code></pre>
