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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started