which of the below are functional interfaces?
Answer options
A
Clonable
B
Serialization
C
Autocloseable
D
Comparable
E
Comparator
F
100.
G
Statement 1 : an include relationship between usecase means the included usecase
H
will be called every time the base usecase is executed
I
Statement 2 : an extends relationship between usecase means the extended usecase
J
is executed only when a given condition is true
Correct answer: Comparable, Comparator
Explanation
A functional interface has exactly one abstract method. Comparable (compareTo()) and Comparator (compare()) are functional interfaces. Cloneable and Serializable are marker interfaces (no abstract methods). The explanation about use-case statements being both true also refers to the embedded statements in options 6–9.