Question: What are the two that are wrong? I put down the following: 1. Minor 2. Critical 3. Distinct 4. Redundant 5. Critical 6. Minor Characterize
What are the two that are wrong? I put down the following:
1. Minor
2. Critical
3. Distinct
4. Redundant
5. Critical
6. Minor
Characterize the level of redundancy based on the scenario In the whole inheritance tree, a single duplicate attribute was found in classes on opposite sides of the tree The developer split one class into three: a base class and two derived classes. One member variable is common between the derived classes Though the entire inheritance tree was carefully checked, not a single instance of duplication was found anywhere The developer copied a dozen lines of code from one method and pasted it into another method on a different part of the inheritance tree A private method used to verify the application state is copied into a few dozen classes in an inheritance tree A private method in one class was copied into another class on a different part of the inheritance tree
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
