Write an expression in JAVA to detect that the first character of userInput matches firstLetter

Write an expression in JAVA to detect that the first character of userInput matches firstLetter.