Hey Guys Would Really Appreciate Help Assignment S Late Would Like Understand Future Name Q37296279

Hey guys would really appreciate help on this assignment! It’slate but I would like to understand how to do it for thefuture.

The name of this Java class is Pizza. The characteristics thatdefine a pizza are the following:

Size: PERSONAL, MEDIUM,LARGE,                         Cheese:REGULAR, EXTRA

EXTRA_LARGE

Sauce: MARINARA, GARLIC_PARMESAN, Meat Topping: NULL, PEPPERONI,HAM,

ALFREDO                                                                    ITALIAN_SAUSAGE,SALAMI, BEEF, BACON

Crust: THIN, HAND_TOSSED,PAN                            Veggie Topping: NULL, GREEN_PEPPERS,

                                                                                     ONIONS,MUSHROOMS, PINEAPPLE, SPINACH

All the fields above will be expressed as Java Enumeration Typesto restrict the values that can be

assigned to these instance variables.

The parameterized constructor should have the followingdefinition:

Pizza(Size size, Sauce sauce, Crust crust, Cheese cheese,MeatTopping meatTopping, VeggieTopping veggieTopping)

The default constructor will assign the value of the first

OR
OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.