What is the purpose of object-oriented programming (OOP)?

  • Code Reusability
  • Encapsulation
  • Modularity
  • Procedural Programming
Object-oriented programming (OOP) emphasizes the concept of encapsulation, which allows the bundling of data and methods that operate on the data into a single unit or class. This promotes code organization, reduces complexity, and enhances code maintainability.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *