I have a mini project that needs to be completed, which is modelling a bank. A bank has branches and each branch is to maintain a list of employees. There are 3 types of employees, Teller, Clerk and Sales.
In my Branch class, i have to created the Staff and then store it. 

In my Branch class i am trying to call the Clerk constructor so that it creates the employee i need, and then i want to store this Clerk instance into an arraylist:

```
public void addStaff(String id, String name) {
    this.id = id;
    this.name = name;
    Clerk clerk = new Clerk(id, name);
}

```

and in my Clerk class is 

```
public Clerk(String id, String name) {
    this.id = id;
    this.name = name;
}

```

It doenst seem to be creating the clerk instance
plus instead of calling each instance, clerk1, clerk2 etc, is there a way of using the name being passed in as the instance name?

For the array, i was going to push the instance to it

```
// constructor
public Branch(String branchName) {
    this.branchName = branchName;
    ArrayList<Object> staff = new ArrayList<Object>();

```