Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save viveknaskar/8d9d0e9b32681c230e67aeebae2fa112 to your computer and use it in GitHub Desktop.
Save viveknaskar/8d9d0e9b32681c230e67aeebae2fa112 to your computer and use it in GitHub Desktop.
Functional Interface Example after Java 8 release
package com.viveknaskar;
public class FunctionalInterfaceExampleAfterJava8 {
public static void main(String[] args) {
// lambda expressions to create object
new Thread(() -> {
System.out.println("Functional Interface After to Java 8");
}).start();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment