This article offers multiple techniques when constructing string objects in multiple JDK versions (with examples).