The students were studying weapon production.
University authorities said there were strict controls regarding the guns and the police had permitted to do so.
Wu said the class is not open to those without majors in weaponry.
The media report said that the guns were not permitted outside the classroom and students could only handle the weapons under the teacher's supervision.