Beginner Flutter
Q9 / 100

What is the difference between Hot Reload and Hot Restart in Flutter?

Correct! Well done.

Incorrect.

The correct answer is B) Hot Reload injects updated code and preserves app state; Hot Restart restarts the Dart VM and loses state

B

Correct Answer

Hot Reload injects updated code and preserves app state; Hot Restart restarts the Dart VM and loses state

Explanation

Hot Reload injects updated source code into the running Dart VM and rebuilds the widget tree while preserving state. Hot Restart fully restarts the Dart VM, losing all current state but picking up new initializations like changed global variables.

Progress
9/100