<identifier> expected
ArrayList<object>armyList = new ArrayList<object>(); Warrior warrior = new Warrior(); But as soon as I add the line <pre lang="java"> armyList.add(warrior);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)