Core Java
-

10 Pillars of Clean Java Code
In the ever-evolving world of software development, crafting clean Java code is an essential skill. Clean code goes beyond functionality;…
Read More » -

Helidon: A Modular Approach to Java Development
In the realm of Java development, monolithic applications are slowly becoming a relic of the past. The microservices architecture, with…
Read More » -

Handle Null Values In ArrayList.addAll()
The ArrayList class in Java is a commonly used data structure. One of its methods, addAll(), allows us to add…
Read More » -

Int to short Conversion in Java
When working with Java, we frequently face situations that require converting data types to meet specific needs. A common example…
Read More » -

Convert Float ArrayList to Primitive Array in Java
In Java, collections such as ArrayList<Float> are often used to store a dynamic list of objects. However, there might be…
Read More » -

Print Distinct Characters from a String in Java
In Java, there are multiple ways to print distinct characters from a string. This article will explore three approaches: using…
Read More » -

Compare Different Numeric Types in Java
Sometimes, we need to compare numbers regardless of their classes or types. This is particularly useful when the format is…
Read More » -

Read and Write JSON to File with GSON
1. Introduction Using GSON to read and write json to file is easy with the fromJson and toJson APIs. GSON…
Read More » -

How to Traverse All Files from a Folder in Java
Traversing all files in a folder is a common task in Java, whether you need to read files, filter them…
Read More »

