Single Responsibility Principle A class should have only one single reason to change which means it should only do one thing. Open Closed Principle A class should be open for…
MVC is an architectural design pattern that is used to develop applications. It states that the application should be logically divided into 3 components namely: model, view, and controller. Model…