Java thread synchronization (a student consists of two parts of the student number and name...)