,-----------------. |List | ,----------. |-----------------| |Collection| |List with members| |----------|--- |String foo() | `----------' |String bar() | `-----------------' ,------------------. |AbstractCollection| |------------------| ,------------. |-field1 | |AbstractList| |#field2 |--|------------| |~method1() | `------------' |+method2() | | `------------------' | | ,-------------------. | |User | | |-------------------| | |.. Simple Getter ..| | |+ getName() | ,--------------------. |+ getAddress() | |ArrayList | |.. Some setter .. | |--------------------| |+ setName() |--|Object[] elementData| |__ private data __ | |size() | |int age | `--------------------' |-- encrypted -- | |String password | `-------------------'