Create a class called Food that has the following attributes: Food String - strName int - intCalories double-dblWeight S
Posted: Tue Jul 12, 2022 8:16 am
Create a class called Food that has the following attributes: Food String - strName int - intCalories double-dblWeight String - strDescription Food() Food(strName, intCalories, dblWeight, strDescription) getName() - String setName(String) - void getCalories() - int setCalories(int) - void getWeight() - double setWeight(double) - void getDescription() - String setDescription(String) - void toString() - String