Ofcourse it is haram. Any social mixing of the opposite sexes is haram. Not only university, working in any office which have both males and females is employees is haram.