List<Guitar> guitar = new ArrayList<Guitar>
List<Voilen> voilen = new ArrayList<Voilen>
--------------------------------------------------
public void test(list<? extends Instrument> list)
{
Instrument i= list.get(0);
i.play();
}
-------------------------------------------------
Now you can call
test(guitar) and also test(voilen).
This is jut one example.