📞 0339-0387701 (WhatsApp) Contact

« Back to Software Engineering (NCCIA)

In design, what is refactoring?

A. Deleting the whole system
B. Changing the internal structure of code without changing its external behaviour ✅
C. Rewriting requirements
D. Adding new features

Correct Answer: B. Changing the internal structure of code without changing its external behaviour

Explanation

  • Refactoring improves readability and maintainability
  • Behaviour must stay the same.