inheretance and ArrayList in java ..i want to know the mistake in my code
hello every body
i am tring to solve this problem ,but i think there is smth wrong cna any body help me Quote:
this is my code |
Really? I did not see the following in your requirements.
Code:
public class BranchBank extends BankAccount{ A BranchBank contains one or more BankAccounts... keyword being "contains". Quote:
|
Quote:
Quote:
|
I think you misunderstood.
Quote:
Code:
public class BranchBank |
Quote:
protected ArrayList<BankAccount> accounts; inside BranchBank without using inheretance |
now i will modify it .what about the rest of the code?
|
Quote:
If that's not what you meant then please clarify. |
thanx
|
Quote:
beause my solution to other tasks will be wrong if these codes are wrong. I were doing my best. |
You could start by wrapping your code in CODE tags rather than QUOTE tags, so that we can read it.
|
.....
|
Looks like you got it.
|
it is too long problem.I am waiting for you reply.thanks so much
|
Quote:
|
Uhm, yeah, it looks like you've completed the requirements that you posted.
|
All times are GMT -5. The time now is 03:30 AM. |