Java · Strings, Math and input

Calling methods on a String

A String can answer questions about its own text, such as how long it is, if you ask it in the right form.