Exercise: Object Oriented Programming Using Cpp

Questions for: Object Oriented Programming Using Cpp

A child class _____ exist if there is no parent class
A:
must
B:
may
C:
cannot
D:
can
Answer: C
No answer description is available. Let's discuss.
Which of the following is a string literal constant?
A:
"Visual C++"
B:
"137.45"
C:
"A"
D:
"2,365"
Answer: E
No answer description is available. Let's discuss.
The loosest type of coupling is
A:
data coupling
B:
control coupling
C:
external coupling
D:
pathological coupling
Answer: A
No answer description is available. Let's discuss.
Which of the following type casts will convert an Integer variable named amount to a Double type?
A:
(double) amount
B:
(int to double) amount
C:
int to double(amount)
D:
int (amount) to double
Answer: A
No answer description is available. Let's discuss.
The body of a C++ function is surrounded by _____
A:
parentheses
B:
angle brackets
C:
curly brackets
D:
square brackets
Answer: C
No answer description is available. Let's discuss.
Ad Slot (Above Pagination)
Quiz