Hello Everyone.
I have some question to ask you I have read your info and have read a book call Big Java and I still lost.
1. I have a Class called BankStatement and when I'm create a Arraylist.
Arraylist <BankStatemen t> bank = New Arraylist <BankStatemen t>
is <BankStatemen t> the Class BankStatement.
2. How do I inunate BankStatement can can if be null, and how do I do this and where do I do this.
3. How do I add data to bank and where do I add it at.
I think it
4. can you have more than I arraylist in a Class. ie project.
thanks
Red
I have some question to ask you I have read your info and have read a book call Big Java and I still lost.
1. I have a Class called BankStatement and when I'm create a Arraylist.
Arraylist <BankStatemen t> bank = New Arraylist <BankStatemen t>
is <BankStatemen t> the Class BankStatement.
2. How do I inunate BankStatement can can if be null, and how do I do this and where do I do this.
3. How do I add data to bank and where do I add it at.
I think it
Code:
BankStatement bank = new BankStatement("A1") //is A1 the Index number/
bank.addBid("123Aw");
bank.addFname("Red");
...
arlist.add(bank);
thanks
Red
Comment