MCQs
Total Questions : 23
| Page 1 of 3 pages
Answer: Option C. -> Both 1 and 2 are correct.
Answer: Option C. -> Member function and data are by default public in structures but private in classes.
Answer: Option C. -> Composition
Answer: Option D. -> Both B and C
Answer: Option B. -> Both data and functions can be either private or public.
Answer: Option A. -> Zero
Answer: Option A. -> an object is created
Answer: Option B. -> has a relationship
Answer: Option B. -> It is used to avoid multiple copies of base class in derived class.
Answer: Option B. -> Public members of the base class become private members of derived class.