0
Which Method is better to create thread and why???
2 Respuestas
+ 8
The first way is to extend the Thread class, override the run() method with the code you want to execute, then create a new object from your class and call start(). The second method is to pass an implementation of the Runnable interface to the constructor of Thread, then call start().
0
from both method which 1 Better ? why?