Question: what are the advantages of using object oriented programming?
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.