Home / MCQ Bank / Computer
Computer Exceptions

In Java, can a "catch" block catch exceptions of a subclass type before catching exceptions of a superclass type?

Select the best option to verify your answer:
Show Correct Answer
Correct Answer: Option C • Yes, a "catch" block can catch exceptions of a subclass type before a superclass type

Related Computer Questions

Bootstrap was first introduced in ______ What will be the output of the following C code? #include <stdio.h> struct { int k; char c; } p; int p = 10; int main() { p.k = 10; printf("%d %d\n", p.k, p); } What will be the output after compiling and running following program code? public class Test{ static int a; public static void main(String[] args){ System.out.println("one"); call(1); } static void call(int a){ this.a=10; System.out.println("two "+a); } } ______ specializes in functions for analytical Customer Relationship Management. Which of the following is not an object?