Skip to content

Blog

Production error deep-dives — root cause, reproduction, and the fix that holds.

Members only

Strings Iteration Using Loops

Learn how to iterate over a Java String using loops, walking through its characters one at a time with clear examples of each approach in this lesson.

Members only

Substring Extraction From String in Java

Learn how to extract a substring from a string in Java: how the start and end positions work, with practical examples of using the substring method.

Members only

String Concatenation in Java

Learn the ways to concatenate strings in Java, from the plus operator to the concat method, and when each one is the right choice for your own code.

Members only

String Comparisons in Java

Learn how to compare strings in Java: why == and equals differ, how to compare by content, how to ignore case and how to order strings with compareTo.

Members only

Overview Of String Methods

An overview of the most useful Java String methods, grouped by what they do, so you know which one to reach for when searching, changing or comparing text.

Members only

Memory Management Of Strings in Java

Learn how Java manages memory for strings: where they live, how the String Pool saves space and what this means for the performance of your Java code.

Members only

What is a String in Java?

What is a String in Java? Learn what the String class represents, how Java stores text and the basics you need before working with strings in real code.

Members only

What is String Pool in Java?

What is the String Pool in Java? Learn how the JVM stores and reuses string literals, why it saves memory and how it affects comparing Java strings.

Members only

How To Create Strings in Java?

Learn how to create strings in Java using literals and the new keyword, how the two approaches differ and which one you should use in your everyday code.

How To Configure a Port For a Spring Boot Application

Learn how to change the default port in your Spring Boot application using application.properties, YAML, programmatic settings, or command-line arguments. Avoid port conflicts and customize your setup easily with these straightforward configuration methods.

How To Configure a Port For a Spring Boot Application