Question: In the previous exercise we asked you to think about what instance variables a pizza should have. Now in this problem you should write up
In the previous exercise we asked you to think about what instance variables a pizza should have. Now in this problem you should write up that class.
It must have a constructor with the method signature
PizzaString theType, String theToppings, int theSize
Also, write a toString for the class!
In your tester program you should create at least three different Pizza objects.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
