Java String Introduction

by Dan Bunker

 

Java String Basics

Strings are a must-know data type when working with any programming language. Java Strings inherit from the base Object class in Java and are immutable once they are instantiated. Strings are typically created using the double quote " character. They can also be constructed using the Java new keyword. Combining multiple strings together is known as concatenation. Concatenation in Java is performed using the + character.