Answer the following statement(s) true (T) or false (F)
1. Inheritance allows redefining how member functions of related classes operate based on the class object being referenced.
2. The initial class used as the basis for the derived class is referred to as the subclass.
3. In multiple inheritance, a derived type has two or more base types.
4. An object’s data member takes precedence over a global variable of the same name.
5. A derived class object can be assigned to a base class object.
1. False
2. False
3. True
4. True
5. True
You might also like to view...
There are two well-known algorithms, ____ algorithm and Kruskal's algorithm, for finding a minimum spanning tree of a graph.
A. Prim's B. Newton's C. Euler's D. Orwell's
Which of the following is a duplicate of a file, program, or disk that can be used if the original is lost, damaged, or destroyed?
A. restored file B. bot C. IP file D. backup
?To create a drop-cap, one can increase the font size of an element's _____ and float it on the left margin.
A. ?first line B. ?hyperlink C. ?first letter D. ?ridge
If you place the include element at the beginning of your style sheet it will have precedence over the active style sheet.
Answer the following statement true (T) or false (F)