The Artima Developer Community
Sponsored Link

Java Buzz Forum
The essential Java language features tour, Part 6

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
News Manager

Posts: 47623
Nickname: newsman
Registered: Apr, 2003

News Manager is the force behind the news at Artima.com.
The essential Java language features tour, Part 6 Posted: Mar 12, 2015 5:40 PM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by News Manager.
Original Post: The essential Java language features tour, Part 6
Feed Title: JavaWorld
Feed URL: http://www.javaworld.com/index.rss
Feed Description: JavaWorld.com: Fueling Innovation
Latest Java Buzz Posts
Latest Java Buzz Posts by News Manager
Latest Posts From JavaWorld

Advertisement
Get a primer on the basic syntax of lambda expressions and learn about target types, then find out how lambdas interact with scopes, local variables, the this and super keywords, and exceptions in your Java programs. Finish off by reviewing predefined functional interfaces.

It's well known that Java 8's main contribution to the Java language is the lambda expression. A lambda describes a block of code (an anonymous function) that can be passed to constructors or methods for subsequent execution. The constructor or method receives the lambda as an argument. Consider the following example:

To read this article in full or to leave a comment, please click here

Read: The essential Java language features tour, Part 6

Topic: Gradle Properties: Build and Configuration Example Previous Topic   Next Topic Topic: First steps with NFC in Android

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use