Question: Ernestine is writing code for a local hardware store; they want to be able to keep better records on their inventory. She has written a

Ernestine is writing code for a local hardware store; they want to be able to keep better records on their inventory. She has written a class InventoryItems. She is now in the process of writing subclasses of InventoryItems for each of the categories of the stores inventory. She has started the subclass that will handle the stores electrical supply items. So far she has started the first line of the subclass definition: public class Electrical What else does she need to write on this line? What is the purpose of this additional code in the statement?

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!