In Java, a String is a sequence of characters that represents text. It is an immutable class, meaning that once a String object is created, its value cannot be changed.