Write an expression to find the length of the string stored in the
variable theParameter
.
theParameter.length()
theParameter
inside the parentheses.length()
method is part of the built-in
String
class, so it is called with a String (like
theParameter
) in front of the period, then the method name,
then parentheses around the (lack of) remaining arguments.