Answer the following statements true (T) or false (F)
1) Interface Map does not contain any methods that return Streams.
2) The Function interface has methods apply (abstract), compose (abstract), andThen (default) and identity (static).
3) If one class inherits the same default method from two interfaces, the class must over ride that method; otherwise, the compiler does not know which method to use, so it generates a compilation error
1) True
2) False. compose is a default method. A functional interface can have only one ab- stract method.
3) True
You might also like to view...
To gain a different view of a pie chart, you can ________ the chart within the 360 degrees of the circle
A) rotate B) explode C) spotlight D) format
The ________________ paradigm is based on the idea that the solution for a problem can be visualized in terms of objects that interact with each other.?
A. ?declarative B. ?object-oriented C. ?procedural D. ?none of the above