You are using the new A(Thread t) constructor for A that it is inheriting from the Thread class. Because of that, without noticing you are starting the run method of the runable Object B instead of the run method of A.
Hey, check out my mega multi devastator cannon. It's wicked. It makes this tiny ad look weak: