Courses
Tutorials
Practice
Data Structure
Java
Python
HTML
Interview Preparation
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
SQL
Web Development
System Design
Aptitude
GfG Premium
Similar Topics
Web Technologies
37.4K+ articles
DSA
22.8K+ articles
Java
10.8K+ articles
Misc
8.8K+ articles
Strings
3.3K+ articles
Java-Collections
1.1K+ articles
Java-Strings
240+ articles
Practice Questions
163+ articles
Java-String-Programs
148+ articles
Java 8
121+ articles
java-lambda
15 posts
Recent Articles
Popular Articles
Remove elements from a List that satisfy given predicate in Java
Last Updated: 23 July 2022
Below are the methods to efficiently remove elements from a List satisfying a Predicate condition:p == Predicate, specifying the conditionl == List, from which element t...
read more
Misc
Java
Java-Collections
Java - util package
Java-ArrayList
java-list
java-lambda
Java-List-Programs
Check if a String Contains Only Alphabets in Java Using Lambda Expression
Last Updated: 01 September 2022
Lambda expressions basically express instances of functional interfaces (An interface with a single abstract method is called functional interface. An example is java.lang...
read more
Strings
Java
DSA
Java-Strings
java-lambda
Java-String-Programs
Remove repeated elements from ArrayList in Java
Last Updated: 11 December 2018
Prerequisite: ArrayList in JavaGiven an ArrayList, the task is to remove repeated elements of the ArrayList in Java.Examples:Input: ArrayList = [1, 2, 2, 3, 4, 4, 4] Outpu...
read more
Java
Technical Scripter
Technical Scripter 2018
Java-Collections
Java-ArrayList
java-hashset
java-lambda
Java-List-Programs
Closures in Java with Examples
Last Updated: 05 June 2023
A method is a collection of statements that perform some specific task and return the result to the caller. A method can perform some specific task without returning anyth...
read more
Java
Functions
java-lambda
Java 8
Java Method References
Last Updated: 23 May 2025
In Java, a method is a collection of statements that perform some specific task and return the result to the caller. A method reference is the shorthand syntax for a lambd...
read more
Java
java-lambda
Java 8
Check if a String Contains only Alphabets in Java
Last Updated: 28 November 2024
In Java, to check if a string contains only alphabets, we have to verify each character to make sure it falls within the range of valid alphabetic characters. There are va...
read more
Strings
Java
DSA
Java-Strings
java-regular-expression
java-lambda
Java-Character
Java-String-Programs
strings
Converting ArrayList to HashMap in Java 8 using a Lambda Expression
Last Updated: 17 August 2021
A lambda expression is one or more line of code which works like function or method. It takes a parameter and returns the value. Lambda expression can be used to convert A...
read more
Java
Technical Scripter
Java Programs
Picked
Technical Scripter 2020
Java-ArrayList
Java-HashMap
java-lambda
Java 8
Block Lambda Expressions in Java
Last Updated: 22 June 2022
Lambda expression is an unnamed method that is not executed on its own. These expressions cause anonymous class. These lambda expressions are called closures. Lambda's bod...
read more
Java
java-lambda
Serialization of Lambda Expression in Java
Last Updated: 18 January 2022
Here we will be discussing serialization in java and the problems related to the lambda function without the serialization alongside discussing some ways due to which we r...
read more
Java
Picked
java-lambda
Java - Lambda Expressions Parameters
Last Updated: 15 July 2024
Lambda Expressions are anonymous functions. These functions do not need a name or a class to be used. Lambda expressions are added in Java 8. Lambda expressions express in...
read more
Misc
Java
java-lambda
Java - Lambda Expression Variable Capturing with Examples
Last Updated: 24 July 2024
Variable defined by the enclosing scope of a lambda expression are accessible within the lambda expression. For example, a lambda expression can use an instance or static ...
read more
Java
Picked
java-lambda
Java 8
Match Lambdas to Interfaces in Java
Last Updated: 17 January 2022
One of the most popular and important topics is lambda expression in java but before going straight into our discussion, let us have insight into some important things. St...
read more
Java
Blogathon
Blogathon-2021
java-lambda
Generate an Array by multiplying each element of given Array by K
Last Updated: 19 January 2022
Given an array arr[] of size N and an integer K. The task is to multiply each element of the array by K.Examples :Input: arr[] = { 3, 4 }, K = 2Output: 6 8Explanation: The...
read more
Java
Mathematical
School Programming
DSA
Arrays
java-lambda
Java Lambda Expressions
Last Updated: 16 April 2025
Lambda expressions in Java, introduced in Java SE 8. It represents the instances of functional interfaces (interfaces with a single abstract method). They provide a concis...
read more
Java
java-lambda
Java 8
Java Stream & Lambda Expression Coding Practice Problems
Last Updated: 05 March 2025
Java Streams and Lambda Expressions provide a powerful way to perform functional-style operations on collections. This collection of Java Stream and Lambda Expression prac...
read more
Java
java-stream
java-lambda
Practice Questions
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our
Cookie Policy
&
Privacy Policy
Got It !