Scratch for Java

Window::exit()

Exits the application by invoking the whenExits method and then calling the exit method on the Applet instance.

Syntax

Java

.exit()

Return

void

exit()