Comparing Strings in Java

2021 VietMX 0

1. Overview In this article, we’ll talk about the different ways of comparing Strings in Java. As String is one of the most used data types in Java, this […]

Compact Strings in Java 9

2021 VietMX 0

1. Overview Strings in Java are internally represented by a char[] containing the characters of the String. And, every char is made up of 2 bytes because Java internally uses UTF-16. For […]

Split a String in Java

2021 VietMX 0

1. Introduction Splitting Strings is a very frequent operation; this quick tutorial is focused on some of the API we can use to do this simply in […]

New Features in Java 15

2021 VietMX 0

1. Introduction Java 15 reached general availability in September 2020 and is the next short-term release for the JDK platform. It builds on several features […]

New Features in Java 14

2021 VietMX 0

1. Overview Java 14 released on March 17, 2020, exactly six months after its previous version as per Java’s new release cadence. In this tutorial, we’ll look at […]

New Features in Java 11

2021 VietMX 0

1. Overview Oracle released Java 11 in September 2018, only 6 months after its predecessor, version 10. Java 11 is the first long-term support (LTS) […]

New Features in Java 9

2021 VietMX 0

1. Overview Java 9 comes with a rich feature set. Although there are no new language concepts, new APIs and diagnostic commands will definitely be […]

New Features in Java 8

2021 VietMX 0

1. Overview In this article, we’ll have a quick look at some of the most interesting new features in Java 8. We’ll talk about: interface […]

A Guide to BitSet in Java

2021 VietMX 0

1. Overview In this tutorial, we’re going to see how we can use BitSets to represent a vector of bits. First, we’ll start with the rationale behind […]

Comparing Arrays in Java

2021 VietMX 0

1. Overview In this tutorial, we’re going to have a look at different ways to compare arrays in Java. We’ll cover conventional methods, and we’ll also […]