For practicing purposes I am trying to write a general method to display the elements of an `ArrayList` by calling its `.toString()` method. Let's please assume `.toString()` does what I want it to do. 

I came up with this solution below where my input `ArrayList` is of type `Object`:

```
public void printArralyList(ArrayList<Object> list){
    for(Object o:list){
        System.out.print(o.toString());
    }
    System.out.println();
}

```

However it would not work!

```
printArralyList(new ArrayList<Integer>(Arrays.asList(1,2,3,5,8,13,21)));

```

The compilation error I get is 

```
    The method printArralyList(ArrayList<Object>) is not applicable
 for the arguments (ArrayList<Integer>

```

how can I address that?