Problems using switch logic to deal with many objects of different types do not include:

a. Forgetting to include an object in one of the cases.
b. Having to update the switch statement whenever a new type of object is added.
c. Having to track down every switch statement to do an update of object types.
d. Not being able to implement separate functions on different objects.


d. Not being able to implement separate functions on different objects.

Computer Science & Information Technology

You might also like to view...

You can change a transition by selecting a slide, clicking the ANIMATION tab, then selecting a different transition.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

Eight bits form a ____, the unit of measurement for data storage.

A. byte B. bit C. bitsy D. byter

Computer Science & Information Technology

You create methods by declaring ________ within a PHP class definition.

a. classes b. functions c. variables d. attributes

Computer Science & Information Technology

A CSS ____ is a rule that defines the appearance of an element in a Web page.

A. font B. format C. attribute D. style

Computer Science & Information Technology