Question: In java Chef class should have the following attributes & methods. Attributes: name ( String ) , cuisine ( String ) Define a constructor for

In java
Chef class should have the following attributes & methods.
Attributes:
name (String), cuisine (String)
Define a constructor for Chef with name and cuisine as parameters in the same order as given.
Abstract Methods:
displayDetails(), cook() both the methods do not return any value
ItalianChef Class
ItalianChef class should inherit Chef and should have the following attributes.
Attributes:
signatureDish (String)
Call the parent constructor with arguments and .
Implement displayDetails() to print "ItalianChef: , Signature Dish:
Implement cook() to print " is cooking his signature dish !"
Implement prepareIngredients() to print " preparing ingredients"

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!