logo

Crowdly

What is the output? public class Demo{       public static void main(String ...

✅ Перевірена відповідь на це питання доступна нижче. Наші рішення, перевірені спільнотою, допомагають краще зрозуміти матеріал.

What is the output?

public class Demo{    

  public static void main(String args[]){    

   try{    

    int a[]=new int[5];    

    a[5]=30/0;    

   }    

   catch(Exception e){System.out.println("C1");}    

   catch(ArithmeticException e){System.out.println("C2");}    

   catch(ArrayIndexOutOfBoundsException e){System.out.println("C3");}    

   System.out.println("Output");    

 }    

}

/**/

document.oncopy = new Function("return false");

document.onpaste = new Function("return false");

document.onselectstart = new Function("return false");

document.oncontextmenu = new Function("return false"); /**/

0%
0%
0%
100%
0%
Більше питань подібних до цього

Хочете миттєвий доступ до всіх перевірених відповідей на lms.upes.ac.in?

Отримайте необмежений доступ до відповідей на екзаменаційні питання - встановіть розширення Crowdly зараз!