When I use Thread class and Lock to solve threads safety problems, there occurs 0 ticket!
Code:
package ThreadTest; import java.util.concurrent.locks.Reen