Which programming paradigm primarily focuses on state and behavior encapsulation using objects?

13 views
  • Procedural Programming
  • Functional Programming
  • Object-Oriented Programming (Correct Answer)
  • Logic Programming

Explanation

Object-Oriented Programming (OOP) encapsulates data (state) and behavior (methods) in objects, promoting modularity, inheritance, and polymorphism, unlike procedural programming which focuses on functions.

Comments (0)

No comments yet. Be the first to comment!

Want to practice more?

Explore thousands of MCQs across every exam category on Exams Nepal.

Find More MCQs