Question: what advantages of using object-oriented programming are mentioned in the text?
Answer: Modularity for easier troubleshooting. Something has gone wrong, and you have no idea where to look. ... 
Reuse of code through inheritance. ... 
Flexibility through polymorphism. ... 
Effective problem solving.