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
Get step-by-step solutions from verified subject matter experts
