In the cash-register class, I need to print the names and prices of specific food classes which are all extensions of the FoodItem abstract super class. However, I need to call the FoodItem class when printing because I have an arrayList of FoodItem objects. How would I call the subclass's own variables and methods through the FoodItem class?