Which component in the MVC design pattern decides which view to display based on the user's actions or input?

  • Model
  • View
  • Controller
  • Router
In the MVC (Model-View-Controller) pattern, the "Controller" is responsible for deciding which view to display based on the user's actions or input. It acts as an intermediary between the model (data) and the view (user interface) and handles the flow of control in the application.
Add your answer
Loading...

Leave a comment

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