hi
I would like to know how come main() method can throws exception
eg.
public static void main(
String[] args) throws InterruptedException
{
throw new InterruptedException();
}
if main() method throws exception then who catches it??JVM??Can anyone please explain me the logic behind it.