
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
20 questions
TPS vs MRS

Quiz
•
University
15 questions
JAVA - Day2

Quiz
•
University
20 questions
PROGRAMMING 1

Quiz
•
University
21 questions
Quiz tentang App Inventor

Quiz
•
11th Grade - University
19 questions
Web Development Quiz

Quiz
•
University
15 questions
Quiz sobre la Historia de la Computadora

Quiz
•
9th Grade - University
15 questions
Azure Data Engineering Essentials

Quiz
•
University
20 questions
Quiz Blockchain Security

Quiz
•
University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Information Technology (IT)
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University