Predict the output
APQuiz-G

Quiz
•
Computers
•
University
•
Hard
MR ARORA
Used 2+ times
FREE Resource
7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
5 6 5 6
Error
5 5 6 6
5 6 6 5
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Predict the Output.
2
0
error
3
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which exception is thrown when java is out of memory?
MemoryError
OutOfMemoryError
MemoryOutOfBoundsException
MemoryFullException
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Predict the Output
1
Memory Error
Compilation Error
5
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of these keywords are used for the block to be examined for exceptions?
try
catch
throw
finally
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Predict the output.
Derived class
Test class
Compilation Error
Runtime Error
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is FALSE about finally block?
For each try block, there can be only 1 finally block.
finally block will not be executed if program exits by calling System.exit();
If an exception is not handled in the catch statement, before terminating the program, JVM executes the finally block
finally block contains important code segment and so the code inside finally block is executed with/without the presence of try block in java code.
Similar Resources on Quizizz
11 questions
JavaScript

Quiz
•
University
10 questions
MileStone 1 Quiz Set 2

Quiz
•
University
10 questions
Microprocessor

Quiz
•
University
10 questions
Java Basic Programming Quiz

Quiz
•
University
10 questions
Week 1 Recap

Quiz
•
University
10 questions
exception

Quiz
•
University
10 questions
Java quiz 1

Quiz
•
University
10 questions
CSS TECH TRIVIA - MEDIUM LEVEL

Quiz
•
University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade