---
title: "What is MVC?"  
description: "What is MVC?"  
author: "James Smith"  
published: 2011-07-23  
updated: 2020-09-21  
canonical: https://www.mindstick.com/interview/1104/what-is-mvc  
category: "java"  
tags: ["java"]  
reading_time: 2 minutes  

---

# What is MVC?

Model-View-Controller (MVC) is a design pattern put together to help control change. MVC decouples interface from business logic and data.

- **Model :** The model contains the core of the application's functionality. The model encapsulates the state of the application. Sometimes the only functionality it contains is state. It knows nothing about the view or controller.\
- **View:** The view provides the presentation of the model. It is the look of the application. The view can access the model getters, but it has no knowledge of the setters. In addition, it knows nothing about the controller. The view should be notified when changes to the model occur. \
- **Controller:**The controller reacts to the user input. It creates and sets the model.

## Answers

### Answer by James Smith

Model-View-Controller (MVC) is a design pattern put together to help control change. MVC decouples interface from business logic and data.

- **Model :** The model contains the core of the application's functionality. The model encapsulates the state of the application. Sometimes the only functionality it contains is state. It knows nothing about the view or controller.\
- **View:** The view provides the presentation of the model. It is the look of the application. The view can access the model getters, but it has no knowledge of the setters. In addition, it knows nothing about the controller. The view should be notified when changes to the model occur. \
- **Controller:**The controller reacts to the user input. It creates and sets the model.


---

Original Source: https://www.mindstick.com/interview/1104/what-is-mvc

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
