Altimetrik interview question

Java Code - "Silent" and "listen" are Anagram or not.