12th Grade Computer Programming Quizzes, Questions & Answers
Top Trending Quizzes
Do you consider yourself a good programmer? How much do you know about exception handling? Take this trivia quiz and check your programming skills. Applications in a computer are expected to run smoothly with no downtime, but...
Questions: 10 | Attempts: 1511 | Last updated: Aug 22, 2023
-
Sample QuestionPublic class MyClass {public static void main(String[] args) {int k=0;try {int i = 5/k;} catch (ArithmeticException e) {System.out.println("1");} catch (RuntimeException e) {System.out.println("2");return;} catch (Exception e) {System.out.println("3");} finally {System.out.println("4");}System.out.println("5");}}
Popular Topics
Advertisement