Question: What is a benefit of having a base Activity class, instead of having only the three specific activity classes themselves? All of these are benefits.
What is a benefit of having a base Activity class, instead of having only the three specific activity classes themselves?
All of these are benefits.
It reduces the runtime complexity of the code.
Putting shared behaviors in the base class makes them easier to maintain because if a bug is found, it only needs to be fixed in one place.
It keeps the size of the final program smaller.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
