? public void setMinBalanceRequirement(double nMinBalance)
? {
? ? minbalance = nMinBalance;
? }
? public void deposit(double amt)
? {
? ? Account.deposit(amt);
? }
? public void withdraw(double amt)
? {
? ? Account.withdraw(amt);
? }
? public double getBalance()
? {
? ? Account.getBalance();
? }
}
i get InfinityAccount.java: cannot find symbol for INIT_BALANCE
and InfinityAccount.java:: non-static variable balance cannot be referenced from a static context for all this other random stuff.... how do i fix that?
Question
Mystical112
i get InfinityAccount.java: cannot find symbol for INIT_BALANCE
and InfinityAccount.java:: non-static variable balance cannot be referenced from a static context for all this other random stuff.... how do i fix that?
Link to comment
Share on other sites
11 answers to this question
Recommended Posts