Local variables inside Lambda Expressions

Java 11 Certification Practice (For the complete list of practice questions, refer http://talks.skilltoz.com/java-11-certification-exam-questions/) Can we declare local variables inside a lambda…

add comment

Consumers in Java

For Java 11 Certification Exam Practice Questions, refer http://talks.skilltoz.com/java-11-certification-exam-questions/ In this article, let us discuss the Consumer interface in Java,…

add comment

Java 11 Certification Exam Questions

Preparing for Java SE 11 Developer Certification Exam 1Z0-819? Here you can find practice questions for each objective. We will…

add comment

File Handling using Java 8 Streams

Introduction As we all know, Java 8 Streams can effectively be used for making data transformations/processing just like we do…

add comment

How do we split Strings using Streams?

Overview Many common use cases such as splitting, trimming etc may involve generating streams from strings in Java. In this…

add comment

Short-Ciruiting in Streams

What are short-circuit operations? All of us would be familiar with short-circuit boolean operator in Java. When two expressions are…

add comment

Skipping and Limiting Streams

Overview This article discusses the intermediate methods skip() and limit() of the Java Stream API. Even though both are used…

add comment

All about Parallel Streams

In this article, we assume that you are already working with Streams introduced in Java 8 and know how to…

add comment

Immutable Collections in Java

Overview Immutable collections are collections that cannot be modified ie;  they do not support any modification operations (such as add,…

add comment

Debugging Streams using peek()

The peek() method in the Stream interface exists mainly to support debugging, where you want to see the elements as…

add comment