
Quizizz - Session 22 - Ngoại lệ trong java
Quiz
•
Professional Development
•
Professional Development
•
Hard
Bình Phạm
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Chức năng chính của Stream API là gì?
A. Lưu trữ dữ liệu
B. Duyệt và thao tác dữ liệu
C. Tạo các luồng xử lý đồng thời
D. Quản lý kết nối cơ sở dữ liệu
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Phương thức nào của Stream được dùng để lọc dữ liệu?
A. filter()
B. map()
C. collect()
D. sorted()
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Phương thức nào của Stream dùng để chuyển đổi từng phần tử trong luồng dữ liệu?
A. forEach()
B. map()
C. flatMap()
D. reduce()
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Phương thức nào của Optional trả về giá trị mặc định nếu giá trị bên trong là null?
A. isPresent()
B. orElse()
C. ifPresent()
D. empty()
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Phương thức nào kiểm tra giá trị trong Optional có tồn tại không?
A. isEmpty()
B. ifPresent()
C. isPresent()
D. get()
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Điều gì xảy ra nếu gọi phương thức get() trên một Optional rỗng?
A. Trả về null
B. Ném ngoại lệ NoSuchElementException
C. Trả về giá trị mặc định
D. Không có gì xảy ra
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Lớp nào được sử dụng để biểu diễn ngày tháng mà không kèm thông tin thời gian?
A. LocalDate
B. LocalTime
C. LocalDateTime
D. ZonedDateTime
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
20 questions
Try Out Sertifikasi Bendahara Pengeluaran (Bagian I)
Quiz
•
Professional Development
20 questions
Analis Sensori Pangan
Quiz
•
Professional Development
10 questions
QUY TRÌNH PHÁP LÝ ĐẦU TƯ DỰ ÁN NHÀ Ở THƯƠNG MẠI
Quiz
•
Professional Development
11 questions
UF0517 Organización empresarial y de RRHH (2)
Quiz
•
Professional Development
20 questions
Els departaments i els perfils professionals
Quiz
•
Professional Development
12 questions
Análisis de Trabajo Seguro (ATS)
Quiz
•
Professional Development
10 questions
Typing
Quiz
•
Professional Development
15 questions
Activité de pastorale
Quiz
•
Professional Development
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
11 questions
NEASC Extended Advisory
Lesson
•
9th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
20 questions
Multiplying and Dividing Integers
Quiz
•
7th Grade
