Java Aptitude

Java MCQ

Java Practice MCQ 8

  1. In Java, declaring a class abstract is useful

    A.

    B.

    C.

    D.

  2. Runnable is

    A.

    B.

    C.

    D.

  3. In which of the following package Exception class exist?

    A.

    B.

    C.

    D.

  4. Which keyword is used to explicitly throw an exception?

    A.

    B.

    C.

    D.

  5. Which exception is thrown when divide by zero statement executes?

    A.

    B.

    C.

    D.

  6. Which keyword specify the exception that a method may throw?

    A.

    B.

    C.

    D.


Please Share this page