ch Kapselung erreicht.</li>

                </ul>
                <pre><code data-trim class="java">
                        class Employees { 
                            private List&lt;Person&gt; employees;
                            bool hire(Person p) { employees.add(p); }
                            bool fire(Person p) { employees.remove(p); }
                            bool isEmplyee(Person p) { employee.contains(p); }
                        }
                            </code></pre>

          