Java, Technology

Type Inference in Lambda Expressions : Java 8

Type Inference means that the data type of any expression (e.g. method return type or parameter type) can be deduced automatically by the compiler. Groovy language is a good example of programming languages supporting Type Inference. Similarly, Java 8 Lambda expressions also support Type inference. Let's understand how it works with a...

by Vinay Prajapati
Tag: Type Inference
07-Jun-2017