public class BankAccount
extends java.lang.Object
Constructor and Description |
---|
BankAccount() |
Modifier and Type | Method and Description |
---|---|
double |
interestOn(double initial,
int years,
double rate)
Calculate interest after a certain number of years
|