We all know that a class\' input methods (should/should not) prompt the user. Af
ID: 3815545 • Letter: W
Question
We all know that a class' input methods (should/should not) prompt the user. After all, prompts tie the function to a specific (application/machine/operating system) and reduce its ____ A) capability B) footprint C) functionality D) generality E) re-usability While it is, of course, always the program's duty to prompt the user in some way, a class is a general description of a _____ and should be as (neutral/specific) as possible. Therefore main program can prompt the user (after/before/during) its call to the class' input method. For analogous reasons a class' output methods (should/should not) label the data they are printing. Show code for an input method of a Time class. (A time-of-day has both an hour and a minute, commonly typed separated by a: symbol.)Explanation / Answer
A. Should not
B.Application
C. D generality
D. Capability
E.neutral
F.before
G.should not
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.