For example, suppose we have a List:
0781: List tList = new ArrayList();
in which we are storing Shapes,
i.e., we normally do something like:
0782: Shape tShape = new Shape(100, 200);
0783: tList.add(tShape);
or:
0784: Circle tCircle = new Circle(100, 200, 10);
0785: tList.add(tCircle);