1/19
Study only in multiple choice!
Name | Mastery | Learn | Test | Matching | Spaced |
---|
No study sessions yet.
Which of the following statements A, B or C is false?
The existing class is called the derived class, and the new class is called the base class.
Which of the following statements A, B or C is false?
All of the above statements are true.
Which of the following statements A, B or C is false?
Polymorphic programs can process objects of classes related by inheritance as if they're all objects of the derived-class type.
With regard to interface inheritance:
With interface inheritance, the base class provides the implementation details.
Which of the following statements A, B or C is false?
Once classes are employed in inheritance hierarchies, they become uncoupled with other classes.
A class can be ________
Both A and B.
Which of the following statements A, B or C is false? In public inheritance ________.
public and protected base-class members become protected derived-class members
Which of the following statements A, B or C is false?
Given Employee, BirthDate and PhoneNumber classes, it's proper to say that an Employee is a BirthDate or that an Employee is a PhoneNumber.
Which of the following statements A, B or C is false?
All of the above statements are true.
Which of the following statements A, B or C is false?
All of the above statements are true.
Which of the following statements A, B or C is false?
All of the above statements are true.
Which of the following statements is false?
All of the above statements are true.
Which of the following statements A, B or C is false?
All of the above statements are true.
Which of the following statements A, B or C is false?
You can compare strings using only string's overloaded equality operators.
Which of the following statements is false?
You may not append a C-string literal to a string object using +=.
Which of the following statements is false?
D) In C++20, if you define == for your class, C++ provides !=, >= and <= for you.
Which of the following statements A, B or C is false?
All of the above statements are true.
Which of the following statements A, B or C is false?
The unique_ptr object that originally allocated the dynamic memory is responsible for deleting the memory.
Which of the following statements A, B or C is false?
The compiler-generated copy constructor and copy assignment operator perform memberwise deep copies.
Which of the following statements A, B or C is false?
All of the above statements are true.