Given the class declaration, class D : public class B {/*…*/}; Which of the following is true?
a) public members of B become public members of D
b) private members of D become public members of B
c) protected members of B become protected members of D
d) private members of B become public members of D
e) private members of B are inaccessible in D.
a) public members of B become public members of D , c) protected members of B become protected members of D , and e) private members of B are inaccessible in D.
Part b) reverses the idea of inheritance. Part d) is wrong.
You might also like to view...
What thread operations are the most significant in cost?
What will be an ideal response?
A method's return type is part of its signature.
Answer the following statement true (T) or false (F)
_____________________ include anyone with an interest in the project, such as the project manager, project team, the client, sponsors, users, and testers.
Fill in the blank(s) with the appropriate word(s).
What strategic issues needs to be addressed in a successful software testing process?A) conduct formal technical reviews prior to testing B) specify requirements in a quantifiable manner C) use independent test teams D) wait until code is written prior to writing the test plan
What will be an ideal response?