
JAVA-Day4

Quiz
•
Information Technology (IT)
•
University
•
Medium
Chitra Muthu
Used 1+ times
FREE Resource
18 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
Which keyword is used to handle exceptions in Java?
try
throw
catch
All of the above
2.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
What is the purpose of the finally block in exception handling?
It executes only when an exception occurs.
It executes only if no exception occurs.
It always executes, regardless of exceptions.
It throws exceptions to the calling method.
3.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
Which keyword is used to throw an exception explicitly in Java?
throw
throws
catch
try
4.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
Which of the following is an ordered collection of elements in Java?
HashSet
TreeSet
LinkedList
HashMap
5.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
Which collection does not allow duplicate elements?
List
ArrayList
HashSet
LinkedList
6.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
Which collection uses a tree structure to store elements in a sorted order?
TreeSet
HashSet
ArrayList
LinkedList
7.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
Which class implements the Map interface using a hash table?
TreeMap
HashMap
LinkedHashMap
SortedMap
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Module 5: Creating Dynamic Web Pages with Scripting

Quiz
•
University
15 questions
Codean - JavaScript Variablel & Function

Quiz
•
University
20 questions
Big Data бойынша тест

Quiz
•
University
13 questions
Python Programming Quiz

Quiz
•
University
20 questions
TPS vs MRS

Quiz
•
University
20 questions
03-JavaScript операторы, ветвление

Quiz
•
University
20 questions
GDG ANDROID BOOTCAMP QUIZ

Quiz
•
University
20 questions
PPL 223 (QUIZ 1) Introduction to Programming Languages

Quiz
•
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