News

Get a deep dive into using method references in your Java programs, including stream operations, event listeners, and constructors and factories.
Java gives you the ability to dynamically create strings. Even after you set the string value, you can add more characters to the string value throughout the code. This process lets you build a ...
There are many ways to write a Java String palindrome program. In this Java palindrome example we demonstrate recursion and how the use of loops, arrays, Scanner and the reverse method can improve ...
Add a long inside a text String The easiest way to convert a long to a String is to append it to double quote. However, for complex output where a long must be embedded in a Java String, use the ...
I have previously blogged on how Groovy and ActionScript provide demonstrations of switching on Strings functionality that has not been available in Java. JDK 7 changes this for Java by ...