News

Creating a Java string. Below is one simple syntax for creating a Java string. String greeting = "Hello world!"; In this example, "Hello world!" is a string literal, which is a series of characters ...
You might know that Java passes by value, but it helps to understand why. Here's what happens when you pass mutable and immutable object references in Java. Many programming languages allow ...
In response to my recent blog posting Immutable Java Objects, Matt brought up a good point of discussion related to making Java classes truly immutable by declaring them as final so that they ...