Q:

Deleting class file when program is running?

One program of java is running and it has infinite loop. Now while program is running I delete the class file of that program so what will happen? Will program continue as it is or it will stop..?

A:

dont worry, nothing happens. It is stored in JVM while running.

