Các biểu thức lambda là gì?

Quiz on Lambda Expressions and Functional Interfaces

Quiz
•
Information Technology (IT)
•
Professional Development
•
Medium
Hoang Khoa
Used 2+ times
FREE Resource
19 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Một loại biến
Một khối mã ngắn không có tên
Một phương thức có tên trong Java
Một lớp trong Java
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Phần nào sau đây là một phần bắt buộc của biểu thức lambda?
Tên phương thức
Tên lớp
Danh sách tham số
Kiểu trả về
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Các toán tử mũi tên '->' trong biểu thức lambda có ý nghĩa gì?
Bắt đầu một phương thức
Phân tách tham số và thân
Kết thúc một câu lệnh
Khai báo một biến
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Phiên bản Java nào đã giới thiệu biểu thức lambda?
Java 8
Java 7
Java 9
Java 6
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is a functional interface?
An interface with exactly one abstract method
An interface with multiple abstract methods
An interface with no methods
An interface that cannot be implemented
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of the following is an example of a built-in functional interface?
Runnable
Supplier
Serializable
Cloneable
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the purpose of the @FunctionalInterface annotation?
To indicate a class is abstract
To enforce a single abstract method in an interface
To create a new class
To define a method
Create a free account and access millions of resources
Similar Resources on Quizizz
15 questions
[Java WebApp] - Session01

Quiz
•
Professional Development
20 questions
HyQuizz_Mùa 3_Day 2

Quiz
•
Professional Development
17 questions
JavaWeb - Session10

Quiz
•
Professional Development
15 questions
Khám Phá UML

Quiz
•
Professional Development
23 questions
Bài 22. kiểu dữ liệu danh sách

Quiz
•
Professional Development
24 questions
anttt bai 1

Quiz
•
Professional Development
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade