What is the difference between Runnable and Thread? - Cracking the Java Coding Interview

preview_player
Показать описание
Cracking the #Java #Coding #Interview - Question 71: What is the difference between Runnable and Thread?
Рекомендации по теме
Комментарии
Автор

it's been like a mounth that I m looking for a freelance opportunity and I can say that those unswers helped me a lot

hamidrchy
Автор

Je me suis refais toute la série et j’avoue que pour même pour un vieux de la vielle ça ne fait pas de mal ces petits rappels. Merci José :)

ulrichvachon
Автор

please make a video on functions vs thread in java

swapnil
Автор

I think these are obvious things.. I waited more than "this is the interface, but another thing is class"😅

evgenys
Автор

What´s the point of .run in the Thread object, since it runs in the current thread, not on a new thread? It seems out-of-place design-wise.

rothbardfreedom
Автор

Different short answer:
Thread is a executor and Runnable is a executable.

Or Runnable is a callback for a task/function.

Speiger
Автор

Why we need to remember all these details? Why java is not consistent?

linuxtutorialshindi
welcome to shbcf.ru