Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

in c# If you followed the design from the Guidance from a Mentor section, and then in the future, you changed your program so that

in c# If you followed the design from the "Guidance from a Mentor" section, and then in the future, you changed your program so that the prompts were retrieved directly from a Web database, how many classes would have to be updated?
None. No updates would be required.
More than two. The Prompt Generator class, the code that calls it, and the Journal/Entry classes that store the prompt.
Two. The PromptGenerator class and then the class that calls the GetRandomPrompt method.
One. The PromptGenerator class.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions