Which of these statements are true about strings?
length()
method returns the number of characters in a stringGood stuff! Strings are sequences of characters that we create with quotes. length
, however, isn't a method but a property that doesn't use parentheses.
Close! Strings are sequences of characters that we create with quotes. length
, however, isn't a method but a property that doesn't use parentheses.