Answer:
None of the mentioned options
Explanation:
- If we define a method in a derived class with same declaration type as that of base class then it is said to be overriding a function which behaves differently which will depend on the object which is calling the method.
- Option a,b and c are not any kind of methods we implement using coding.
- Option d is done when number or data types of parameters are different than the declaration of the base type.
Answer:
Following is attached the solution of each part step-by-step. I hope it will help you!
Explanation:
Answer:
252
Explanation:
I tested the code and it outputted 252
hope i helped :D