Question
JAVA 1.Which of the below options describe a design in which class B is a derived class of base class A? A Class A is
JAVA
1.Which of the below options describe a design in which class B is a derived class of base class A?
A Class A is an Sleeve, something that goes into a shirt, jacket or sweater. Class B is a Jacket. |
B Class A is a Jacket something that is worn to keep a person warm. Class B is an JacketSleeve (something that goes into a Jacket). |
C Class A is an MensApparelItem, which is stocked and sold by a department store like Macy's. Class B is an InventoryItem, something a business stocks and sells to a customer. It has an item number and price. |
D Class A is an InventoryItem, something a business stocks and sells to a customer. It has an item number and price. Class B is an MensApparelItem, which is stocked and sold by a department store like Macy's. 2. Check the true statement(s) (There is at least one correct choice, possibly more.)
|
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