Java Articles

This is a list of all Java articles, tips and techniques published on this site. I decided to publish these because when programming, I need to look this information for myself. The top pages in Google are full of ads and low quality content (often wrong results.) This section will also contain posts on Java related tools and technologies like Spring Boot, Maven, Tomcat etc.

Basics of Java Garbage Collection

The char Type in Java is Broken

Checked vs Unchecked Exceptions in Java. Why it's so Confusing

What are -Xms and -Xms parameters in Java/JVM

Spring Boot - Replace Tomcat With Jetty As the Embedded Server

Java - How to Cancel Tasks in Executors (With Examples)

How to Stop Threads in Java. Best Practices and Examples.

How to Convert Character to String in Java? (3 Different Techniques)

Java - What Is Math.pow() and How to Use It

Java PrintWriter Explained with Examples (Java 9+)

Java - Convert String to int or Integer (2019)

3 Different Ways of Generating Fibonacci Series in Java

Java - How to Convert Stream to Array (2019)

Java - How to Convert ArrayList to Array

Convert Char Array to String in Java

How to Convert String to Character Array in Java

Priority Queue in Java. Quick Tutorial with Examples