a) Class Files (package java.nio.file) is one of many classes throughout the Java APIs
that have been enhanced to support Streams.
b) Interface Map does not contain any methods that return Streams.
c) The Function functional interface—which is used extensively in functional programming—
has methods apply (abstract), compose (abstract), andThen (default) and
identity (static).
d) If one class inherits the same default method from two interfaces, the classmustoverride
that method; otherwise, the compiler does not know which method to use, so it
generates a compilation error.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here