Full Stack Quiz 16

Full Stack Quiz 16

1st Grade

20 Qs

quiz-placeholder

Similar activities

PJPK Tingkatan 2 - 1/2022

PJPK Tingkatan 2 - 1/2022

1st Grade

15 Qs

QUIZ PBO

QUIZ PBO

1st - 3rd Grade

20 Qs

K-2 Physical Education Review

K-2 Physical Education Review

KG - 2nd Grade

18 Qs

PJOK PERMAINAN BOLA VOLI

PJOK PERMAINAN BOLA VOLI

1st - 2nd Grade

15 Qs

3.1.1 Permainan bola besar

3.1.1 Permainan bola besar

1st - 6th Grade

20 Qs

Soal Pemantapan Pekerjaan Dasar Teknik Otomotif

Soal Pemantapan Pekerjaan Dasar Teknik Otomotif

1st Grade

20 Qs

Sports for Newcomers

Sports for Newcomers

1st - 8th Grade

22 Qs

pjpk f1 bab 1 gimnastik

pjpk f1 bab 1 gimnastik

1st Grade

18 Qs

Full Stack Quiz 16

Full Stack Quiz 16

Assessment

Quiz

Professional Development, Physical Ed

1st Grade

Practice Problem

Medium

Created by

Gnaneshwar Reddy

Used 13+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Which of these keywords are used for the block to be examined for exceptions?

try

catch

throw

check

2.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Which of these keywords are used for generating an exception manually?

try

catch

throw

check

3.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Which of these statements is incorrect?

try block need not to be followed by catch block

try block can be followed by finally block instead of catch block

try can be followed by both catch and finally block

try need not to be followed by anything

4.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

1. What is the use of try & catch?

It allows us to manually handle the exception

It allows to fix errors

It prevents automatic terminating of the program in cases when an exception occurs

All of the mentioned

5.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

What will be the output of the following Java code?

class Output

{

public static void main(String args[])

{

try

{

int a = 0;

int b = 5;

int c = b / a;

System.out.print("Hello");

}

}

}

Hello

World

HelloWOrld

Compilation Error

6.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Which of these keywords are used for the block to handle the exceptions generated by try block?

try

catch

throw

check

7.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Where should you keep your Java code that helps to take action on the exceptions raised inside TRY block?

One more TRY block

CATCH block

FINALLY block

None of the above

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?