package pr3; public class FoodItem { private String name; private int calories; private int transFat; public FoodItem(String name, int calories, int transFat) { this.name = name; this.calories = calories; this.transFat = transFat; } public String getName() { return name; } public int getCalories() { return calories; } public int getTransFat() { return transFat; } }