I created a bank account program but not sure how to set my initial balance of my savings account to $400.
//Defines any type of bank account
public abstract class BankAccount
{
// class...
Type: Posts; User: Punky0214
I created a bank account program but not sure how to set my initial balance of my savings account to $400.
//Defines any type of bank account
public abstract class BankAccount
{
// class...
How do I set my initial balance of my savings account to be $400.
Would it be something like this?
double initialBalance = getBalance();
I have created a Bank Account program and have run into an issue.
Here is my code:
AccountDriver:
//Demonstrates the BankAccount and derived classes
import java.text.*; // to use...