i\'m learning about Thread concurrent, i have ThreadID class, this is the code:
ThreadID
public class ThreadID { private static volatile int nextID=0; p