adplus-dvertising
frame-decoration

Question

What is the role of the model 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: (a).To encapsulate the system's data as well as the operations on those data Explanation:The model component in the MVC pattern encapsulates the system's data as well as the operations on those data.

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 model component in the MVC pattern?