Core Java
-

Testing Logging Output in Java
One of my more popular posts on this site is on how to use Mockito to mock logging. Testing that…
Read More » -

How to get current date time with Java 8
In this quick tutorial, we will see, how to get current date time using Java 8. Java 8 had come…
Read More » -

Static Nested Classes Java
In Java, it is possible to define a class within another class. Class defined within another Class is called a…
Read More » -

Builder Design Pattern
Hello Friends, In this tutorial, we will discuss Builder design pattern. Key topics we are going to discuss are :…
Read More » -

Java Predictions for 2021 on Foojay
Geertjan Wielenga has posted “Java Predictions for 2021” on Foojay Today. It is a collection of predictions about Java in…
Read More » -

Introduction into GraalVM (Community Edition): GraalVM for JVM applications
1. Introduction In this part of the tutorial we are going to continue our journey to learn more about the…
Read More » -

Testing with Hoverfly and Java Part 5: XML and Xpath matchers
Previously we worked with some of the existing Hoverfly matchers like the regex, glob and exact. Each one serves its…
Read More » -

JDK 16: Stream to List In One Easy Call
As Java functional streams have become increasingly popular, an increasing number of requests is being made for new stream operations…
Read More » -

Java’s String.repeat Method in Action: Building PreparedStatement with Dynamic Number of Parameters
Java’s String.repeat(int) method is an example of a “small” addition to Java (introduced with JDK 11) that I find myself…
Read More »
