Test it out

Hit “Run” to see the code’s output. The answer depends on how we run the program.

Debug mode

Pressing “Run” will cause the program to crash and display an error message:

Get hands-on with 1000+ tech skills courses.