hi danpost and others
i am building another program, this time it is a banking program. In this program I need to build an acct class, transaction class, customer class, saving and checking acct class which i have already done. In the acct class which is supposed to abstract,(and it is) it supposed to have an arraylist transaction lis, i did it but i am getting an error where it is telling u to build a transaction class which i have already did. can u tell me how to fix this error. here is the codes that i used. it supposed to also have a toString method but I havent do that as yet, right now i am just trying to get this error fix
any help will do
ublic abstract class Account{ private String acctnum; double bal; ArrayList <transactions> trans = new ArrayList <transactions>(); the error is right here. it telling me to build a transaction class which i have already build. I dont know if it is not recongizing the transaction class that i have public String getacctnum(){ return acctnum; } public double getbal(){ return bal; } public void setacctnum(String acctnum){ this.acctnum= acctnum; } public void setbal(double bal){ this.bal=bal; }