Question: (62 points) In the program with 3 java classes, following: , Foodknalyzer, FoodItem, and Pizza, shown below (on page 3), list the Each question below
(62 points) In the program with 3 java classes, following: , Foodknalyzer, FoodItem, and Pizza, shown below (on page 3), list the Each question below is 4 points unless written otherwise A. What is the name of the superclass (parent class)? What is the name of the subclass (child class)? B. On what line(s) and in what class(es) are the instance variables (the data fields) declared? C. (4 points) What are the nameo) of the instance variables? (4 points) What are the sypere) of the instance variables? D. On what linels) are the instance variablets) initialized E. What yahuels) is (are) the instance variable(s) initialized with? F. Oa what line(s) and in what class(es) are the object6s) declared? G. (2 points) What are the namety) of the objects? (2 points) What are the tpels) of the objects? H. On what line() is (are) the object(s) initialized
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
