Froquiz
Home
Quizzes
Job Tracker
Senior Challenge
System Design
Get Certified
Blog
🇬🇧
en
Sign In
Start Quiz
🇬🇧
en
Sign In
Start Quiz
Loading...
Quiz Topics
1
2
3
4
5
6
7
8
9
10
01
/ 10
What should you pay attention to when writing your own functional interface in Java?
Auto Skip
Report Issue
A.
Instead of writing own functional interface always mandatory to use ready ones in java.util.function package
B.
Functional interface can only contain static methods; default methods cannot be added
C.
Writing functional interface requires @FunctionalInterface; cannot be used with lambda without it
D.
Add @FunctionalInterface; use generic; declare checked exception; add default utility methods; primitive version if needed
Previous
Next