Абстракция
BankAccount
accountNo
balance
Robert's Account Julia’s Account
A8624 A6363
$500 $800
5/3/2015 7/8/2014
Checking Checking
Инкапсуляция
BankAccount
accountNumber
balance
dateOpened
accountType
open{)
close()
deposit!)
withdraw!)
Наследование
Person
name
email