Quizizz - Session 20 - JAVA8_02

Quizizz - Session 20 - JAVA8_02

Professional Development

15 Qs

quiz-placeholder

Similar activities

Revision compétence 3

Revision compétence 3

Professional Development

20 Qs

formules calculs commerciaux

formules calculs commerciaux

Professional Development

10 Qs

IHT Safewards

IHT Safewards

12th Grade - Professional Development

15 Qs

luyện tập for

luyện tập for

KG - Professional Development

10 Qs

New Hire Orientation

New Hire Orientation

Professional Development

10 Qs

HUT PT DAK 2024

HUT PT DAK 2024

Professional Development

10 Qs

Principes PARC

Principes PARC

Professional Development

10 Qs

Time and Tense 24 May

Time and Tense 24 May

Professional Development

20 Qs

Quizizz - Session 20 - JAVA8_02

Quizizz - Session 20 - JAVA8_02

Assessment

Quiz

Professional Development

Professional Development

Practice Problem

Hard

Created by

Bình Phạm

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Phương thức tĩnh (static method) trong interface được gọi như thế nào?

  • A. Sử dụng từ khóa this

  • B. Thông qua tên của lớp

  • C. Thông qua tên của interface

  • D. Không thể gọi

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Functional Interface là gì?

  • A. Một interface chỉ có các phương thức mặc định

  • B. Một interface chỉ có một phương thức trừu tượng duy nhất

  • C. Một interface không có phương thức nào

  • D. Một interface có nhiều phương thức trừu tượng

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Phương thức nào của Functional Interface Predicate<T> được sử dụng để kiểm tra điều kiện?

  • A. test()

  • B. accept()

  • C. apply()

  • D. evaluate()

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Cú pháp của Lambda Expression được viết đúng là gì?

  • A. (parameters) => expression

  • B. (parameters) => {expression}

  • C. expression => (parameters)

  • D. (parameters) -> { body }

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Khi nào nên sử dụng Method References thay vì Lambda Expression?

  • A. Khi cần tạo các lớp phức tạp

  • B. Khi lambda chỉ gọi một phương thức đã tồn tại

  • C. Khi muốn giảm số lượng phương thức tĩnh

  • D. Khi không muốn sử dụng Functional Interface

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Phương thức tham chiếu nào sau đây là hợp lệ?

  • System.out::println

  • Integer.parseInt::String

  • this::methodName (bên ngoài lớp)

  • objectReference..methodName

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Trong cú pháp Method Reference, ClassName::staticMethod là loại tham chiếu nào?

  • A. Tham chiếu đến phương thức tĩnh

  • B. Tham chiếu đến phương thức thể hiện

  • C. Tham chiếu đến phương thức khởi tạo

  • D. Tham chiếu đến một đối tượng

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?

Discover more resources for Professional Development