Morgan Stanley Interview Question

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