Full Stack Quiz 16

Full Stack Quiz 16

1st Grade

20 Qs

quiz-placeholder

Similar activities

TAYO QUIZIZZ KELAS 6 PJOK TENTANG PERMAINAN BOLA VOLI

TAYO QUIZIZZ KELAS 6 PJOK TENTANG PERMAINAN BOLA VOLI

1st - 12th Grade

20 Qs

KINDERGARTEN TEACHER (QUIZ 8)

KINDERGARTEN TEACHER (QUIZ 8)

1st - 10th Grade

15 Qs

Unit 1 - Gimnastik Asas (1D)

Unit 1 - Gimnastik Asas (1D)

1st Grade - University

20 Qs

Minecraft 1.14 update

Minecraft 1.14 update

KG - Professional Development

22 Qs

Sport de combat

Sport de combat

1st Grade

20 Qs

Chair ball p4

Chair ball p4

1st - 12th Grade

15 Qs

Official Capture The Flag Rules

Official Capture The Flag Rules

KG - University

24 Qs

g4 Target games

g4 Target games

1st - 10th Grade

17 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?