Articles by Tag #java8

Browse our collection of articles on various topics related to IT technologies. Dive in and explore something new!

What is the difference between forEach and map in streams?

forEach: A terminal operation that performs an action on each element of the stream but does not...

Learn More 9 0Nov 10 '24

Java 8 Stream API limit() and skip() methods

In Java 8, the Stream API provides limit() and skip() methods for controlling the number of elements...

Learn More 7 0Nov 2 '24

How does reduce() differ from collect() in Java streams?

The reduce() and collect() methods in Java Streams serve different purposes and operate at different...

Learn More 7 1Nov 30 '24

Java Stream Scenario Based Interview Question

You have a list of employees with fields like name, age, and department. Write a code snippet to...

Learn More 7 0Dec 25 '24

Java Stream.distinct()

The Stream.distinct() method in Java is used to filter out duplicate elements from a stream, ensuring...

Learn More 6 0Nov 17 '24

Key Changes in Java Development Practices: From Java 8 to Java 17

Java has long been a cornerstone of enterprise development, and the evolution from Java 8 to Java...

Learn More 2 0Oct 9 '24

What are new features of Java 8 #interviewQuestion

New Features in Java 8 Java 8 introduced several significant features: Lambda...

Learn More 1 2Jul 4 '24

Intercepted System.exit(...) on Java 21

In Java 8, it is possible (easy enough) to substitute a custom security manager which can capture...

Learn More 1 2Aug 25 '24

Functional Interface in Java

Functional Interface in Java A functional interface in Java is an interface that contains...

Learn More 1 0Jul 4 '24

How to Filter a Collection Using Streams in Java?

Java 8 introduced the Stream API, which allows for functional-style operations on collections. One...

Learn More 0 0Jun 9

Enabling SOAP Request and Response Logging in JBoss EAP 7

Logging SOAP request and response messages in JBoss EAP 7 can help with debugging and monitoring....

Learn More 0 0Mar 11

Stop using if-else statements in Java

The tale goes that there is an ancient legacy system, my colleague coded thousands of lines from...

Learn More 0 0Oct 3 '24

java8

A post by heimanba1

Learn More 0 0Apr 17