Given:
What is the result?
A. Cat
B. Dog
C. Compilation fails.
D. The code runs with no output.
E. An exception is thrown at runtime.
Answer: B
Can some one please clarify,
Runnable is the job and
Thread is the worker(a line directly quoted from K&B).
So in the above example, i have given a job(runnable) to thread(worker), then doesn't the thread execute runnable's run method?