I have a class in Java which has main() function. Lets call it A. There is another class B which implements Runnable interface. In main function of class A, I create a threa