- Lambda expression − Adds functional processing capability to Java.
- Method references − Referencing functions by their names instead of invoking them directly. Using functions as parameter.
- Default method − Interface to have default method implementation.
- Stream API − New stream API to facilitate pipeline processing.
- Optional − Emphasis on best practices to handle null values properly.
- Nashorn, JavaScript Engine − A Java-based engine to execute JavaScript code.
- Date Time API − Improved date time API.
- New tools − New compiler tools and utilities are added like ‘jdeps’ to figure out dependencies.
- Functional Interfaces
- Base64
- Enables functional programming
- Readable and concise code
- Easier to use APIs and libraries
- Enables support for parallel processing
- Data Types
- String concatenation
- If, else, switch, and loop concept
- Array concept
- Static
- String builder
- String compare
- Collection, Set, List
- HashMap, LinkedHashMap
- OOP
- Generic