Andy179176 / jwd26-29m

4 stars 3 forks source link

2022-06-10 (2) #12

Open Andy179176 opened 2 years ago

Andy179176 commented 2 years ago

Given a list of Person (String name, List\ accounts) . BankAccount is the class with following fields: String iban, double balance. Create class BankAccountWithOwner (Person owner, String iban, double balance). Implement the method that returns the List of BankAccountWithOwner.

ghost commented 2 years ago

https://github.com/Drrel/BankAccount.git Может не так понял задание, сделал немного на скорую руку и на свой лад. BankAccountWithOwner очень напрашивался на интерфейс.

RomanRichert commented 2 years ago

Домашка с переводом List < Person > в List < BankAccountWithPerson >. https://github.com/RomanRichert/Tel-Ran/tree/main/Java/june/for_14_06/bankAccounts_task/src