Okay, I think I'm getting closer to understanding and completing my last
assignmentThe was a typo in the assignment though about the Name(): thing, it should be
Account(): configures a new account name with name "name", owner "owner", and balance "0"
Account(String s, String t, double n): configures a new account with name s, owner t, and balance n.
( New Not Compiling CodeCollapse )When I try to compile, I get an error up in my default constructor Account() that my variables (name, owner, and balance) "might not have" initialized. I'm not understanding why.
And my toString is bad too, but I don't think I can mess with that until I get the rest of it working.
Thanks for all your help!
Edit: The assignment wants the initial balance to be 0. We're adding or subtracting "n" from our balance, so I know it's wrong to have "n" be equal to 0, because that's adding and subtracting nothing. I'm thinking I'm going to have to use "new" under my default constructor, right?