Morgan Stanley interview question

Java code on finding first non repeating character of the string.