Is it acceptable when a professor pointed out in front of the class that a socially anxious 25-year-old girl can't make eye contact with him?

Is it acceptable when a professor pointed out in front of the class that a socially anxious 25-year-old girl can't make eye contact with him?
Post Opinion