Multiple Choice
In the constructor for the ArrayBag class shown below, what is the missing code?
Def __init__(self, sourceCollection = None) :
< missing code >
AbstractBag.__init__(self, sourceCollection)
A) items.add(self)
B) self.items = Array(ArrayBag.DEFAULT_CAPACITY)
C) self.items = ArrayBag.add(sourceCollection)
D) add.items(self, sourceCollection)
Correct Answer:

Verified
Correct Answer:
Verified
Q20: When a class is customized using inheritance,
Q21: In the ArraySortedBag class, why must the
Q22: By using inheritance to create new classes,
Q23: Which of the following is true about
Q24: A primary purpose of using inheritance is
Q26: What would be the purpose of creating
Q27: The _init_ method in the parent class
Q28: What is the syntax for the calling
Q29: If a programmer calls the next function
Q30: The root class of the Python hierarchy