Java Interface Hackerrank Solution For Alphabet