void (String[] args) { Warehouse warehouse = new Warehouse(); warehouse.addFruits("peach", 3); warehouse.addFruits("pineapple", 5); warehouse.addFruits("mango", 1); warehouse.addFruits("apple", 5); boolean result = warehouse.takeFruit("apple"); if (result) { System.out.println("This apple was delicious!"); } warehouse.printAllFruits(); }