Home » You searched for java 8

Search Results for: java 8

Java 8 Stream – Map & Collect Example

Hello. In this tutorial, we will explain the most commonly used Java 8 Stream APIs: the map() and collect() methods. 1. Introduction Before diving deep into the practice stuff let us understand the map and collect methods. 1.1 map() method This method is used to convert an object to something else. Represented by the syntax – map() method <R> Stream<R> ...

Read More »

Java 8 Stream – filter() & forEach() Example

Hello. In this tutorial, we will explain the most commonly used Java 8 Stream APIs: the forEach() and filter() methods. 1. Introduction Before diving deep into the practice stuff let us understand the forEach and filter methods. 1.1 forEach method This method is used to iterate the elements present in the collection such as List, Set, or Map. It is ...

Read More »

Java 8 vs Java 12

In this article, we will see a comparison of the Java 8 vs Java 12. 1. What is Java? Java is a programming language first released by Sun Microsystems in 1995. There are lots of applications and websites that will not work unless you have Java installed, and more are created every day. Java is fast, secure, and reliable. From ...

Read More »

Java 8 vs Java 9

In this article, we’re going to present Java 8 vs Java 9. 1. Introduction Java is an object-oriented programming language and first released in 1995. Java 8 is the first long-term-support (LTS) version and released in 2014. The current LTS version is 11. Java 9 is released in 2017. According to this article, Java 8 is the most popular version. ...

Read More »

Java 8 vs Java 10

In this article, we’re going to present Java 8 vs Java 10. Specifically, we are going to compare features and tools introduced in both versions. 1. Introduction Java is a programming language, object-oriented based, first introduced in 1995 by James Gosling at Sun Microsystems. In January 2010, Oracle Corporation acquired Sun Microsystems and since then they maintain and evolve the ...

Read More »

Java 8 vs Java 11

This is an article that compares Java 8 vs Java 11. We will see the various features and enhancements from each Java version. 1. Introduction Java 8 and Java 11 are the two current LTS or Long Term Support versions of java. In this article, we take a look at what new features each version brought. We will compare the ...

Read More »

Java 8 API Tutorial

In this article, we are going to explain the Java 8 API through examples. 1. Introduction Java 8 was released on March 18, 2014 with several enhancements. In this example, I will demonstrate the following API enhancements: Support Functional programming with Lambda Expression, Functional Interface, and Stream APINew Java Date APIInterface’s Default Method 2. Technologies Used The example code in ...

Read More »

Guide to Features Changes from Java 8 to Java 15

In this article, we provide a guide to features changes from Java 8 to Java 15. Do you ever feel like you’re falling behind everyone else? Well, I’m here to confirm those suspicions, and I’ll throw in a cheeky Bob Dylan quote that I’ve been itching to pull out. You better start swimming, or you’ll sink like a stone-Bob Dylan ...

Read More »

Java Stream – How to use Java 8 streams

1. Introduction In this post, we will learn about how to use a Stream in Java, which was introduced as part of Java 8 version. Let us understand what actually the word streaming means with an example and what the java 8 API provides with regard to methods. When you start watching a video, a small portion of the file ...

Read More »

Migrating from Java 8 to Java 13

In this article, we will demonstrate how to migrate an application from Java SE 8 to Java SE 13. 1. Introduction Oracle began a six-month release cadence for Java Standard Edition starting with Java 10. Instead of being major version releases, they are instead “feature releases”. This release cycle is in the spirit of Continuous Integration / Continuous Deployment and ...

Read More »