June 2024
Intermediate to advanced
394 pages
6h 48m
English
Chapter 1 briefly referred to the String type in the context of String[] args. This type showed up in subsequent chapters without a proper discussion. This chapter addresses this oversight by properly introducing you to String. It then introduces String’s companion type: StringBuffer.
The java.lang.String class describes a string, which is a sequence of characters. You express a string literally by placing these characters between a pair of double quotes (e.g., "The quick brown fox jumps over the lazy dog."
Read now
Unlock full access