The first time. The second time t is different.
Look at the output from the code I posted.
Type: Posts; User: Norm
The first time. The second time t is different.
Look at the output from the code I posted.
Look at the output from this code:
public class Thread_Program {
public static void main(String[] args) throws InterruptedException {
Thread t = new Thread(){
public void run(){...
Please post a complete program that compiles, executes and shows the problem. It is important that I have exactly the same code that you are executing so that I can see what the code does when it...
Please post a small, complete program that compiles, executes and shows the problem.