__________ allows a new class to extend an existing class.
a. succession
b. inheritance
c. polymorphism
d. encapsulation
b. inheritance
Computer Science & Information Technology
You might also like to view...
In the class ListQueue, which method besides isEmpty calls the isEmpty method from the list class?
a. listPtr b. isEmpty() c. peekFront() d. enqueue(const ItemType& newEntry)
Computer Science & Information Technology
Which of the following statements is false?
a. Most classes you’ll use in Java programs must be imported explicitly. b. There’s a special relationship between classes that are compiled in the same directory. By default, such classes are considered to be in the same package known as the default package. c. Classes in the same package are implicitly imported into main. d. An import declaration is not required when one class in a package uses another in the same package.
Computer Science & Information Technology