Multiple Choice
Consider the following class definitions:Which of the following correctly sets the values of x and y? 
A) void dClass: :setXY (int , int b)
{
bClass: : setx (a) ;
}
B) void dClass: setXY (int , int b)
{
;
}
C) void dClass: setXY (int a, int b)
{
bClass: : set ;
bClass: : setY (b) ;
}
D) void dClass: setXY (int a, int b)
{
bClass.setx (a) ;
}
Correct Answer:

Verified
Correct Answer:
Verified
Q15: In OOD, a program is a collection
Q16: A derived class cannot directly access public
Q17: Existing classes, from which you create new
Q18: Classes can create new classes from existing
Q19: _ is the ability to combine data,
Q21: Which of the following is a
Q22: Consider the following class definitions:Which of the
Q23: Inheritance is an example of a(n) _
Q24: C++ provides _ functions as a means
Q25: The constructor of a derived class cannot