Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Question 1 You could consider creating a class that has the responsibility for hiding the words in the scripture. What would be drawbacks of creating
Question
You could consider creating a
class that has the responsibility for hiding the words in
the scripture. What would be drawbacks of creating a
class instead of leaving that
responsibility to the Scripture and Word classes?
There are not really any drawbacks. It is simply not necessary.
Adding a separate Hider class would cause significant overhead and cause the program to run more
slowly.
A Hider class would introduce an additional set of methods that would have to be accounted for.
A Hider class would need to know the details of the other classes to make them hidden.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started