Exercise: Object Oriented Programming Using Cpp

Questions for: Object Oriented Programming Using Cpp

With communicational cohesion
A:
a tasks and the data are related
B:
the tasks are related; the data are not
C:
the data are related; the tasks are not
D:
the tasks and the data are unrelated
Answer: C
No answer description is available. Let's discuss.
Which of the following statements creates and initializes a pointer named salesPtr?
A:
salesPtr = NULL;
B:
*salesPtr = "";
C:
float &salesPtr = NULL;
D:
float *salesPtr = "";
Answer: E
No answer description is available. Let's discuss.
An object is a(n) _____ of a class
A:
owner
B:
function
C:
definition
D:
instance
Answer: D
No answer description is available. Let's discuss.
An asterisk placed after a data type means .
A:
array to
B:
pointer to
C:
address to
D:
located to
Answer: B
No answer description is available. Let's discuss.
A pattern for creating an object is called a(n) _____
A:
class
B:
attributes
C:
private
D:
public
Answer: A
No answer description is available. Let's discuss.
Ad Slot (Above Pagination)
Quiz