News

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 string ...
Though Java already has a character type and char keyword to represent and manipulate characters, the language also requires a Character class for two reasons: Character c1 = new Character ('A'); ...
I'm working up a new project for my High School CompSci students. In honor of the centenary of the sinking of the Titanic, I'm having them program a text -> Morse Code generator, and have them output ...
The String.split methods can be very convenient for easily splitting a provided String based on a provided regular expression String. The only trick is figuring out a regular expression token to use ...
A few years ago I wrote a Soduko solver in Java. Works great, except I have to edit the source file to change the input because I could never get Swing to work like my mental model said it should. Cut ...