s=s.trim(); String gender=s;//char gender=? what i have to write to accept a character through stringtokenizer