What is the role of the view component in the Model-View-Controller (MVC) flow?

  • It accepts the input and applies the required rules to format the data.
  • It manages the data, logic and rules of the application.
  • It accepts selected data and displays the visual representation to the user.
  • It requests user input and manipulates it to fit the format for the model.