WIP_Objects #5
@ -208,7 +208,6 @@ public class ConsoleLib {
|
|||||||
System.out.print("Bitte geben Sie das Datum im Format YYYY-MM-DD an: ");
|
System.out.print("Bitte geben Sie das Datum im Format YYYY-MM-DD an: ");
|
||||||
food_planData[0] = sc.nextLine();
|
food_planData[0] = sc.nextLine();
|
||||||
List<Food> veganMain = FoodMgr.getVeganFood(false);
|
List<Food> veganMain = FoodMgr.getVeganFood(false);
|
||||||
System.out.println(veganMain.size());
|
|
||||||
for (Food food : veganMain) {
|
for (Food food : veganMain) {
|
||||||
System.out.println(food.getId() + " : " + food.getName());
|
System.out.println(food.getId() + " : " + food.getName());
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user