hi danpost. this program was one that I am currently doing. I am getting these do errors.
here is the code
public static void main(String[]args){
Scanner keyin = new Scanner(System.in);
ArrayList savings = new ArrayList();
ArrayList chequing = new ArrayList();
String firstname;
char type;
double balance;
float rate;
String acctnum;
double total_amt;
char yourchoice;
Saving_Account sa = new Saving_Account(); this is the first error. the errors says: constructor Chequing_Account in class Chequing_Account cannot be applied to given types;
Chequing_Account ca = new Chequing_Account(); this is the second error
System.out.println("\n"+ "Please select one of the following option");
System.out.println("| o - To open an account");
System.out.println("| d - To make a deposit");
System.out.println("| w - To make a withdraw");
System.out.println("| i - To pay the interest");
System.out.println("| t - To view the transactions");
System.out.println("| q - To quit");
type = keyin.next().trim().toUpperCase().toLowerCase().charAt(0);
while(type !='q'){
if(type == 'o'){
System.out.print("Please select the type of account you will like to open: s-Saving or c-Checking");
yourchoice = keyin.next().trim().toUpperCase().toLowerCase().charAt(0);
if(yourchoice == 's'){
System.out.print("Please enter account holder");
firstname = keyin.next();
System.out.print("please enter the Saving Account Number");
acctnum = keyin.next();
sa.acctnum();
}
}
}
Saving_Account sa = new Saving_Account();
Chequing_Account ca = new Chequing_Account(); I need to use these but I dont want to remove them from the class, I just want to error to go away without having to add any more classes

