Page 1 of 1

We have an abstract class, AbstractDuck, representing all ducks. Every duck can quack and walk. Every duck has a weight,

Posted: Fri May 20, 2022 4:55 pm
by answerhappygod
We have an abstract class, AbstractDuck, representing
all ducks. Every duck can quack and walk. Every duck has a weight,
which determines if the duck can float. We have two subclasses of
AbstractDuck: mallards and rubber ducks.
We Have An Abstract Class Abstractduck Representing All Ducks Every Duck Can Quack And Walk Every Duck Has A Weight 1
We Have An Abstract Class Abstractduck Representing All Ducks Every Duck Can Quack And Walk Every Duck Has A Weight 1 (4.08 KiB) Viewed 101 times
We want to assign various attributes and methods to this
diagram. For each of the following questions, indicate where we
would add the item to our diagram by selecting one of the letters A
through F. For example, if you select 'E', the item will be one of
the attributes of a rubber duck. Answers may be
duplicated.
AbstractDuck A А B Mallard Duck RubberDuck с E D LL F