Home > Back-end >  JAVA thread polymorphism way to create a thread is what will make synchronized code block failure fo
JAVA thread polymorphism way to create a thread is what will make synchronized code block failure fo

Time:01-17


Why the two tickets will be back 5 are normal
O bosses on

CodePudding user response:

If I realize the Runnable first and then to the realization of new Runnable subclass convey this as target to Thread
This way to create two threads there would be no such problem
For big ~
  • Related