thanks for all your suggestion.
but the problem is that,
the construtor take 3 args,
1. If the customer choose open account, it's like
take a customerId, customerName, accountNo as args
if (customerId not in the record)
add customerId, customerName, accountId to Record
the output would look like
1, Brian, 12343434
2. when a cusomter choose open a account (a customer can has two account)
take a customerId, customerName, accountNo as args
if (customerName IS IN the record)
add accountNo under its cusotmerId( i just need to acc accountNo to Record)
1,Brian, 12343434, 11112222(so the cusomter now has two account)
so i thought i need 2 constructor, what's wrong withthe design
[ October 24, 2003: Message edited by: brian yuen ]
[ October 24, 2003: Message edited by: brian yuen ]