tags: Java, Java 8, Java Features
Java 4
Java 5
- For-each loop (Java 5)
- Varargs (Java 5)
- Static Import (Java 5)
- Autoboxing and Unboxing (Java 5)
- Enumeration
- Covariant Return Type (Java 5)
- Annotation (Java 5)
- Generics
Java 6
- Instrumentation (premain method) (Java 6)
Java 7
- String in switch statement (Java 7)
- Binary Literals (Java 7)
- The try-with-resources (Java 7)
- Caching Multiple Exceptions by single catch (Java 7)
- Underscores in Numeric Literals (Java 7)
Java 8
- Java 8 Date/Time API (Java 8)
- Lambda Expressions
- Method References (Java 8)
- Functional Interfaces
- Streams
- Base64 Encode Decode (Java 8)
- Default Methods (Java 8)
- forEach method(Java 8)
- Collectors(Java 8)
- StringJoiner(Java 8)
- Optional class (Java 8)
- Nashorn JavaScript (Java 8)
- Parallel Array Sorting (Java 8)
- Type Inference (Java 8)
- Method Parameter Reflection (Java 8)
- Type annotations and repeating annotations (Java 8)
Java 9
- Platform Module System (Project Jigsaw)
- Interface Private Methods
- Try-With Resources
- Anonymous Classes
- @SafeVarargs Annotation
- Collection Factory Methods
- Process API Improvement
- New Version-String Scheme
- JShell: The Java Shell (REPL)
- Process API Improvement
- Control Panel