Skip to content

Instantly share code, notes, and snippets.

@jackblack369
Last active March 1, 2019 07:23
Show Gist options
  • Save jackblack369/ab9cfebfe203767230d79d7ac93c0bb6 to your computer and use it in GitHub Desktop.
Save jackblack369/ab9cfebfe203767230d79d7ac93c0bb6 to your computer and use it in GitHub Desktop.
[learn java 8] #java

forEach() method in Iterable interface

default and static methods in Interfaces

  • Java 8 introduces the “Default Method” or (Defender methods) feature, which allows the developer to add new methods to the interfaces without breaking their existing implementation. It provides the flexibility to allow interface to define implementation which will use as the default in a situation where a concrete class fails to provide an implementation for that method.

Functional Interfaces and Lambda Expressions

Java Stream API for Bulk Data Operations on Collections

Java Time API

Collection API improvements

Concurrency API improvements

Java IO improvements

Miscellaneous Core API improvements

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment