Threads Flashcards

1
Q

How to create new thread

A

A class can either extend from Thread or implement the Runnable interface. In both cases the class must override the run() method. (executed when thread.start() is called)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly