modeling a real life scenerio in java
<p>I have some doubt in design for following scenerio:
There is one Company.
Typical Company has at least the following attributes: (
 1. Name of company
 2. List of employees</p>

<p>Typical Employee has the following attributes: 
 1. Name
 2. Department</p>

<p>Typical Department has at least the following attributes: 
 1. numberOfEmps
 2. description</p>

<p>Every department should maintain a count of number of employees for that department. So whenever an employee is added or removed, a count corresponding to employee’s department should be incremented or decremented respectively.</p>

<p>How can i model this using java classes?w</p>
