posted 16 years ago
that is my abstract code;
here is my subclass checking:
I am trying to complie that but getting this error:
accBalance has private access in Account
return ((accBalance - 700)* .02)* intrestPeriod; how do I get around this. I am only allowed to have the computeIntrest method take one integer arugment and return a double? I can add another variable to the method but that would violate the rule.
can anybody help with this?