Computer Science - Object Oriented Programming Using C++
|
|
|
|
Exercise"Do not wait for leaders; do it alone, person to person."
- Mother Teresa
|
| 46. |
Which of the following can be used to declare the main function? |
| A. |
void main | | B. |
void Main() | | C. |
void main() | | D. |
main | | E. |
either (b) or (c) can be used |
Answer: Option D
Explanation:
No answer description available for this question. Let us discuss.
|
| 47. |
You _____ write your own container classes |
Answer: Option A
Explanation:
No answer description available for this question. Let us discuss.
|
| 48. |
If an integer object is thrown with a throw statement, then a subsequent catch block has a usable match if the type of the catch argument is |
| A. |
int | | B. |
double | | C. |
either (a) or (b) | | D. |
neither (a) nor (b) |
Answer: Option B
Explanation:
No answer description available for this question. Let us discuss.
|
| 49. |
The highest level of cohesion is |
| A. |
functional cohesion | | B. |
temporal cohesion | | C. |
logical cohesion | | D. |
sequential cohesion |
Answer: Option C
Explanation:
No answer description available for this question. Let us discuss.
|
| 50. |
You separate a derived class name from its access specifier with |
| A. |
a colon | | B. |
two colons | | C. |
at least one space | | D. |
a semicolon |
Answer: Option C
Explanation:
No answer description available for this question. Let us discuss.
|
|
|