Please enable JavaScript to use CodeHS

CodeHS Glossary

String Java

String is a Java type that represents a string of characters (text). String is not a primitive type, which is why it needs to be written with a capital S. For example, we can make a String variable like this: ``` String name = "Karel"; String emptyString = ""; ```