Object Oriented Programming Using C Plus Plus - Study Mode
[#291] Which of the following, if any, are valid names for variables?
Correct Answer
(C) amt_Sold
[#292] Assume you want to compare the character stored in the initial variable to the letter a. Which of the following conditions should you use in the if statement? (Be sure the condition will handle a or A.)
Correct Answer
(D) (toupper(initial) == 'A')
[#293] You can override a class's inherited access to make an individual member's access more ______
Correct Answer
(B) conservative
[#294] A class hierarchy
Correct Answer
(A) describes "is a kind of" relationships
[#295] The measure of how well the operations in a function relate to one another is _____
Correct Answer
(B) cohesion