Java

Being well-prepared for job interviews and having a strong grasp of fundamental Java programming concepts are essential for intermediate developers. In this page, we will delve into some of the most intriguing interview questions that intermediate developers are likely to encounter in their job search. Our discussion will encompass various topics, including functional programming, streams…

Read More Java Interview Questions for Intermediate Developers

As a junior developer, it’s important to be prepared for job interviews and have a good understanding of the fundamental concepts of Java programming. In this page, we’ll be exploring some of the most interesting interview questions that junior developers can expect to encounter during their job search. We’ll cover topics like object-oriented programming, data…

Read More Java Interview Questions for Junior Developers

In this tutorial, we will explore how to ignore unknown JSON fields in Java using Jackson. We will cover the default behaviour, ignoring unknown properties on a class level, ignoring unknown properties globally, and how to deal with incomplete JSON. Additionally, we will discuss security concerns related to ignoring unknown properties using annotations. If you’re…

Read More Ignore Unknown JSON Fields with Java Jackson

This tutorial covers three distinct methods for reading application properties in a Spring Boot application. These methods include: Using the Environment object. Using the @ConfigurationProperties annotation. Using the @Value annotation. I made a simple Spring Boot Web App to show you how to read application properties. You can use the tutorial Create a Simple Web…

Read More Spring Boot: Reading Application Properties

Working with strings is a fundamental aspect of programming, and Java provides a rich set of tools and methods for manipulating strings. One common task when working with strings is to remove whitespace characters such as spaces, tabs, and newlines. There are several ways to accomplish this in Java, including using the replaceAll() method from…

Read More Removing Whitespaces in Java Strings