throws error handled by jvm

PHOTO EMBED

Thu Jan 18 2024 07:52:14 GMT+0000 (Coordinated Universal Time)

Saved by @E23CSEU1151 #java

class D
{
   public static void Wait() throws InterruptedException
    {
        for(int i=0;i<=10;i++)
        {
            System.out.println(i);
            Thread.sleep(1000);
            
        }
    }
    public static void main(String[] args) throws InterruptedException
    {
        Wait();
        System.out.println("some error find");
    }
}
content_copyCOPY