public class WarehouseDriver { public static void main(String[] args) { // 3 objects created Warehouse whOne = new Warehouse(212, 65, 75); Warehouse whTwo = new Warehouse(55, 170); Warehouse whThree = new Warehouse(); System.out.println("Warehouse 1 contents:\n" + whOne); System.out.println("Warehouse 2 contents:\n" + whTwo); System.out.println("Warehouse 3 contents:\n" + whThree); whOne.addRadio(15); whOne.addTV(6); whOne.addComputer(30); whTwo.addRadio(40); whTwo.addComputer(17); whTwo.addRadio(23); whThree.addRadio(13); whThree.addTV(123); whThree.addComputer(49); System.out.println("Warehouse 1 contents:\n" + whOne); System.out.println("Warehouse 2 contents:\n" + whTwo); System.out.println("Warehouse 3 contents:\n" + whThree); whOne.removeRadio(55); whOne.removeTV(71); whOne.removeComputer(19); whTwo.removeRadio(12); whTwo.removeTV(94); whTwo.removeComputer(39); whThree.removeRadio(22); whThree.removeTV(7); whThree.removeComputer(52); System.out.println("Warehouse 1 contents:\n" + whOne); System.out.println("Warehouse 2 contents:\n" + whTwo); System.out.println("Warehouse 3 contents:\n" + whThree); } }