Exercise 3

Make a class Item,

class Item
{
   String getDescription()
   {
      // ...
   }
   
   void customizeInfo()
   {
      // ...
   }
    
   void printInfo()
   {
      // ...
   }

   int getPrice()
   {
       // ...
   }
}
and extend it to make ShoeItem and PizzaItem. The constructors should set the price and description. Use overriding of the customizeInfo method to ask shoe size for the ShoeItem, and toppings and size for the PizzaItem.

Look at the ItemTest.java for a test program for your classes.