The two methods of code reuse that aggregate the features located in multiple classes are ____________ .
A.
Inheritance
B.
Copy and Paste
C.
Composition
D.
Refactoring
E.
Virtual Method Invocation
Explanation:
A: Inheritance is a way of reusing code and building bigger more functional objects from a basic object.
The original little object, the parent, is called the super-class. The more functional object that inherits from it is called the sub-class .
C: When your goal is code reuse, composition provides an approach that yields easier-to-change code.
A,C