
Quiz on Lambda Expressions and Functional Interfaces
Quiz
•
Information Technology (IT)
•
Professional Development
•
Practice Problem
•
Medium
Hoang Khoa
Used 2+ times
FREE Resource
Enhance your content in a minute
19 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Các biểu thức lambda là gì?
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
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
Already have an account?
Similar Resources on Wayground
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
Discover more resources for Information Technology (IT)
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
25 questions
Christmas Movies
Quiz
•
Professional Development
20 questions
Christmas Trivia
Quiz
•
Professional Development
15 questions
Fun Holiday Trivia
Quiz
•
Professional Development
25 questions
Name That Tune - Christmas
Quiz
•
Professional Development
29 questions
Christmas Song Emoji Pictionary
Quiz
•
Professional Development
9 questions
Holiday Movie Trivia
Lesson
•
Professional Development
34 questions
Winter Trivia
Quiz
•
Professional Development
