Exercise: Object Oriented Programming Using Cpp

Questions for: Object Oriented Programming Using Cpp

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: C
No answer description is available. Let's discuss.
The highest level of cohesion is
A:
functional cohesion
B:
temporal cohesion
C:
logical cohesion
D:
sequential cohesion
Answer: A
No answer description is available. Let's discuss.
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: A
No answer description is available. Let's discuss.
You _____ write your own container classes
A:
must
B:
may
C:
should not
D:
must not
Answer: B
No answer description is available. Let's discuss.
Which of the following can be used to declare the main function?
A:
void main
B:
void Main()
C:
void main()
D:
main
Answer: C
No answer description is available. Let's discuss.
Ad Slot (Above Pagination)
Quiz