I got this question from Dan Chisholm's mock exam:
According to Dan, this code snippet causes the run() method in class A to run, not class B. But why? I've read his explanation, but I still don't understand. If you pass a Runnable object to a
Thread constructor, then shouldn't the Thread object invoke the run() method of the Runnable object?
PS: I tested this code snippet, and true enough, Dan is correct.