Help Scout Interview Question: Write a method to determine i... | Glassdoor

Interview Question

Java Software Engineer Interview Boston, MA

Write a method to determine if a string starts with an

  uppercase letter.
Answer

Interview Answer

1 Answer

1

wouldn't it just be

return string.charAt(0) == string.charAt(0).toLowerCase()

Anonymous on Jan 18, 2017

Add Answers or Comments

To comment on this, Sign In or Sign Up.