When implementing the __init__ method in the AbstractBag class, what task should you leave out because it is the responsibility of the subclasses?

A. setting the self.size variable to 0
B. adding items from the source collection
C. initializing the self.items variable
D. checking if a source collection exists

Answer: C

Computer Science & Information Technology

You might also like to view...

ESP supports two modes of use: transport and _________.

A. padding B. tunnel C. payload D. sequence

Computer Science & Information Technology

Identify the significance of "text" in

.?

A. ?It identifies the form. B. ?It is the content of the form. C. ?It controls the form process. D. ?It identifies the form attributes.

Computer Science & Information Technology