1. Which is NOT a problem with inheritance? a) it is sometimes problematic when all parent classes have to be packed with the app b) you may have to trace up the inheritance tree to understand an...


Please answer all the questions.


1. Which is NOT a problem with inheritance?<br>a) it is sometimes problematic when all parent classes have to be packed with the app<br>b) you may have to trace up the inheritance tree to understand an object's behavior<br>c) application scope may become too big due to inherited features that are not required in the<br>problem<br>d) None of the above<br>2. It is perfectly fine to have a different number of input parameters in method overriding<br>a) True<br>b) False<br>3. Which of the following are NOT true about method overriding (select all that apply)<br>o you override methods because they are exactly what you need in the subclass<br>in overridden methods, you cannot add more lines of code<br>o return type cannot be different<br>o number of input parameters cannot be different<br>

Extracted text: 1. Which is NOT a problem with inheritance? a) it is sometimes problematic when all parent classes have to be packed with the app b) you may have to trace up the inheritance tree to understand an object's behavior c) application scope may become too big due to inherited features that are not required in the problem d) None of the above 2. It is perfectly fine to have a different number of input parameters in method overriding a) True b) False 3. Which of the following are NOT true about method overriding (select all that apply) o you override methods because they are exactly what you need in the subclass in overridden methods, you cannot add more lines of code o return type cannot be different o number of input parameters cannot be different

Jun 06, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here