Creating and Using Threads
Veeg om het menu te tonen
Important Points:
- We use the
Threadclass to create a new thread; - In order to pass a parameterless method into the thread class, we encapsulate it into a
ThreadStartobject. - A method with parameters can be executed by passing it into the
Treadclass after encapsulating it into aParameterizedThreadStartobject.
1. What constructor or method is used for creating a new method?
2. Which Thread constructor accepts a method with no parameters?
3. Which Thread constructor accepts a method with parameters?
Was alles duidelijk?
Bedankt voor je feedback!
Sectie 1. Hoofdstuk 15
Vraag AI
Vraag AI
Vraag wat u wilt of probeer een van de voorgestelde vragen om onze chat te starten.
Geweldig!
Completion tarief verbeterd naar 3.85Sectie 1. Hoofdstuk 15