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.
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.