A Guide to JUnit 5

2021 VietMX 0

1. Overview JUnit is one of the most popular unit-testing frameworks in the Java ecosystem. The JUnit 5 version contains a number of exciting innovations, with the […]

Quick Guide to the Java StringTokenizer

2021 VietMX 0

1. Overview In this quick article, we’ll explore a fundamental class in Java – the StringTokenizer. 2. StringTokenizer The StringTokenizer class helps us split Strings into multiple tokens. StreamTokenizer provides similar functionality […]

Guide to java.util.Formatter

2021 VietMX 0

1. Overview In this article, we’ll discuss the String formatting in Java using the java.util.Formatter class, which provides support for the layout justification and alignment. 2. How to Use […]

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 […]

Guide to System.gc()

2021 VietMX 0

1. Overview In this tutorial, we’re going to investigate the System.gc() method located in the java.lang package. Explicitly calling System.gc() is known for being a bad practice. Let’s try to understand […]

Guide to Java Instrumentation

2021 VietMX 0

1. Introduction In this tutorial, we’re going to talk about Java Instrumentation API. It provides the ability to add byte-code to existing compiled Java classes. We’ll also […]

A Guide to the ResourceBundle

2021 VietMX 0

1. Overview Many software developers, during their professional careers, face an opportunity to develop multilingual systems or applications. These’re usually destined for end-users from different […]

Guide to the Java Clock Class

2021 VietMX 0

1. Overview In this tutorial, we’re going to look into the Java Clock class from the java.time package. We’ll explain what the Clock class is and how we can use it. 2. The Clock Class […]

A Guide To UDP In Java

2021 VietMX 0

1. Overview In this article, we will be exploring networking communication with Java, over the User Datagram Protocol (UDP). UDP is a communication protocol that transmits […]

Guide to BufferedReader

2021 VietMX 0

1. Overview BufferedReader is a class which simplifies reading text from a character input stream. It buffers the characters in order to enable efficient reading of […]

Guide to Java OutputStream

2021 VietMX 0

1. Overview In this tutorial, we’ll explore details about the Java class OutputStream. OutputStream is an abstract class. This serves as the superclass for all classes representing an output […]