Pergunta de entrevista da empresa Revature

What is the java function to determine the length of a string?