Notizen
Thread
Inhalt der Notizen (1)
Seite 1
Exam Topics
Create and use the thread class and the Runnable interface
Manage and control thread lifecycle
synchronize thread access to shared data
Identify potential threading problems
the Latin root of the word concurrency means running together. In programming, you can have multiple threads running in parallel in a program executing different tasks at the same time. Therefore it is a powerful and useful feature.
Parallel activities can be implemented as threads: running multiple threads in parallel at the same time is called multi-threading or concurrency.
A java thread can be created in two ways: by extending the thread class or by implementing the Runnable interface. Both of them have a method named run(). JVM will call this method when a thread starts executing.
Informationen
- Beschreibung
- Secondary School Admission Test (SSAT) Hibernate Notiz am Thread, erstellt von nikita14solanki am 16/05/2016.
- Erstellt von
- nikita14solanki · Mai 2016
- Aktualisiert
- 17 Mai 2016
- Aufrufe
- 0
- Bewertung