1. Home
  2. Computer Science MCQs
  3. Software Engineering
  4. Which principle in software engineering states that…

Added 12 Sep 2025

Which principle in software engineering states that software entities should be open for extension but closed for modification?

  1. Open-Closed Principle Correct answer
  2. Single Responsibility Principle
  3. Liskov Substitution Principle
  4. Interface Segregation Principle

Correct answer

A. Open-Closed Principle

18 views

MCQSEXAM

Explanation

The Open-Closed Principle is the second principle of SOLID design principles.

Reference

Asked in: GATE CS, UGC NET CS

https://www.geeksforgeeks.org/open-closed-principle-in-java-with-examples/

Preparing for an exam?

Doubts & discussion

Not sure why the answer is A? Ask here and get an explanation.

Ask a doubt about this MCQ

Shown after review. No links please.

More Software Engineering MCQs

Practise all Software Engineering MCQs

Similar MCQs