1- look at the following class heading : Class countedQue : public QueType What
ID: 3832015 • Letter: 1
Question
1- look at the following class heading :
Class countedQue : public QueType
What does the phrase : public QueType mean ?
A . QueType is being substituted for countedQue .
B . QueType is being derived from countedQue .
C . countedQue is being substituted for QueType .
E . answer not shown
2- to use the template construct, you must put which of the following phrases before the class definition ?
A . class template
b . <Template, class, ItemType>
c . <template <class name>>
d . template <class iItemType>
E . C++ doesn't have template
Explanation / Answer
Question 1
Answer: C . countedQue is being substituted for QueType .
2- to use the template construct, you must put which of the following phrases before the class definition ?
Answer: d . template <class iItemType>
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.