Java practices for university