New Concepts in Java 8 by Van Nguyen

New Concepts in Java 8 by Van Nguyen

Author:Van Nguyen [Nguyen, Van]
Language: eng
Format: epub
Published: 2016-12-16T08:00:00+00:00


In Java 8, an interface is still a functional interface if it has many default methods, which are methods with a body that provide some default implementation for methods in case they are not implemented by a class, as long as it has only 1 abstract method

The signature of the abstract method in a functional interface essentially describes the signature of the Lambda Expression

In Java 8, functional interfaces are annotated with @FunctionalInterface which is used to indicate that the interface is intended to be a functional interface



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.