Select the false statement regarding inheritance.
a. A derived class can contain more attributes and behaviors than its base class.
b. A derived class can be the base class for other derived classes.
c. Some derived classes can have multiple base classes.
d. Base classes are usually more specific than derived classes.
d. Base classes are usually more specific than derived classes.
You might also like to view...
What is the output of the following code segment:
int a = 3, b = 4, c = 5; if (a + 1 > c) cout << a << c; else if (b = = c – 1) cout << a << b; else if (a < c) cout << b << c; else cout << b << a; a) 43 b) 45 c) 34 d) 3445
If a variable is declared with the Public ____________________ specifier, it can be used by other classes within the application.
Fill in the blank(s) with the appropriate word(s).