Java jdk8.31

broken image

All the classes are immutable and thread safe for multithreading.

broken image
broken image

JDK 8 revamped the date-time support by introducing a new package java.time to provide a comprehensive support of dates, times, instants, durations, timezones, and periods. There is no internationalization support (such as time zone) in. All the date classes are mutable, hence, they are NOT thread safe in multithreading. Formatting and parsing classes are defined in java.text package. For example, we have Date class in both java.util (with both date and time) and java.sql (with date only) packages. Prior to JDK 8, It has always been hard to work with date, time and time zones, because there is no standard approach or API for date and time. References: The Java Tutorial: Date Time. See ' Functional Programming and Lambda Expressions'.

broken image

JDK 8 Lambda Expressions and Functional Programming JDK 8 is a MAJOR upgrade! It introduces new syntaxes (Lambda Expression) to support functional programming retrofitted existing libraries (especially the Collection Framework) and added new libraries and features.

broken image