adplus-dvertising
frame-decoration

Question

What is the role of the view component in the MVC pattern?

a.

To encapsulate the system's data as well as the operations on those data

b.

To display the data obtained from the model component

c.

To handle input actions

d.

To notify the controller of input events

Answer: (b).To display the data obtained from the model component Explanation:The view component in the MVC pattern displays the data obtained from the model component.

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What is the role of the view component in the MVC pattern?