?

AP® Computer Science A

Free Version

Upgrade subject to access all content

Moderate

Object-Oriented Programming Advantages

APCSA-NYE1PE

Of the following list, which are generally considered advantages of object-oriented programming (OOP) as compared to other programming techniques?

1. Reusability of code
2. Speed of code (runs faster)
3. Program size (shorter programs)
4. Maintenance of code is easier
5. Extendability of code

A

2, 3, and 4

B

1, 2, 3, and 5

C

2, 4, and 5

D

1, 4, and 5

E

1, 2, 3, 4, and 5