
Java Exception Handling Quiz

Quiz
•
Information Technology (IT)
•
12th Grade
•
Hard
Hoang Khoa
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Cái gì là một ngoại lệ trong Java?
Một lỗi biên dịch
Một sự kiện không mong muốn trong quá trình thực thi chương trình
Một loại biến
Một phương pháp lưu trữ dữ liệu
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Trong số các ngoại lệ sau, ngoại lệ nào là checked exception?
ArrayIndexOutOfBoundsException
NullPointerException
ArithmeticException
IOException
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Từ khóa 'throw' trong Java có tác dụng gì?
Tạo một lớp ngoại lệ mới
Khai báo một ngoại lệ
Ném một ngoại lệ một cách rõ ràng
Bắt một ngoại lệ
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Khối nào luôn được thực thi sau khối try-catch?
khối try
khối catch
khối finally
khối throw
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Các loại ngoại lệ nào not checked tại compile time?
Syntax exceptions
Runtime exceptions
Logical exceptions
Checked exceptions
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Mục đích của khối 'finally' là gì?
Để thực thi mã bất kể có ngoại lệ hay không
Để xử lý ngoại lệ
Để khai báo ngoại lệ
Để ném ngoại lệ
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Ví dụ nào sau đây là một ngoại lệ không được kiểm tra?
ClassNotFoundException
ArithmeticException
SQLException
IOException
Create a free account and access millions of resources
Similar Resources on Wayground
18 questions
K12 - T5 - Bài 4. Trình bày nội dung theo dạng danh sách, bảng

Quiz
•
12th Grade
20 questions
7A-KIỂM TRA THƯỜNG XUYÊN 2

Quiz
•
7th Grade - University
19 questions
Câu hỏi về Google Sites

Quiz
•
12th Grade
15 questions
Quiz về Biểu mẫu HTML

Quiz
•
12th Grade
15 questions
[TSU]MD1_S3

Quiz
•
12th Grade
15 questions
[TSU]MD1_S6: CSS Basic

Quiz
•
12th Grade
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)
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
20 questions
Getting to know YOU icebreaker activity!

Quiz
•
6th - 12th Grade
10 questions
Impact of 9/11 and the War on Terror

Interactive video
•
10th - 12th Grade
28 questions
Ser vs estar

Quiz
•
9th - 12th Grade
6 questions
Biography

Quiz
•
4th - 12th Grade
25 questions
ServSafe Foodhandler Part 3 Quiz

Quiz
•
9th - 12th Grade
10 questions
Fact Check Ice Breaker: Two truths and a lie

Quiz
•
5th - 12th Grade
20 questions
Macromolecules

Quiz
•
9th - 12th Grade