J2EE Spring Hibernate Chapter 32: The String Class

Strings are probably one of the most commonly used java data-types. They can hold almost anything that are enclosed within a pair of double quotes and hence are very versatile and powerful. This chapter covers the String class.

Strings Are Immutable Objects

Handling “strings” of characters is a fundamental aspect of most programming languages. In Java, each character in a string is a 16-bit