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
Predict the output
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 Wayground
10 questions
PDS - 04225 Pointers & Dynamic Arrays - Chapter 8

Quiz
•
University - Professi...
10 questions
BCSC0006 - Quiz 1 - Arrays

Quiz
•
University
11 questions
C/C++ Programming Chapter 3

Quiz
•
University
10 questions
CSS TECH TRIVIA - MEDIUM LEVEL

Quiz
•
University
10 questions
exception

Quiz
•
University
10 questions
Java Arrays

Quiz
•
University
10 questions
Exception Handling and CollectionQuiz

Quiz
•
University
10 questions
Python Basics

Quiz
•
12th Grade - University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade