Print either "Fruit" or "Drink" (followed by a newline) depending on the value of userltem. For example, if userltem is
Posted: Tue Jul 12, 2022 8:20 am
Print either "Fruit" or "Drink" (followed by a newline) depending on the value of userltem. For example, if userltem is GR_APPLES, output should be: Fruit 401140.2447344.qx3zqy7 1 import java.util.Scanner; 2 3 public class GrocerySorter { public enum GroceryItem {GR_APPLES, GR_BANANAS, GR_JUICE, GR_WATER} 456 7 8 9 10 11 12 13 14} public static void main (String [] args) { GroceryItem userItem; GroceryItem. GR_APPLES; } userItem - *Your solution goes here