please help !!!
hello .. please anyone help me .
i need to write this code :
Create a program to simulate timer, using threads .
the timer takes number of seconds to count and keep incrementing until it reaches the alarm time.
Your program must display the current value of the timer each second.
Your program should create 2 timers.
Yes, you do need to write the code.
Look at Thread.sleep(). That's how you make a thread wait for a certain time.
Look at System.currentTimeMillis(). That tells you the current time in milliseconds. You can also look at Date.
Look at Thread. That is the class that allows you to create and control threads.
Steve :( thank u , i will try , the problem is im really bad at java !!
but anyways thank u very much :)
There's only one way to get better!
but will u help me with the errors please ?
i'll write the code , and i'll post it tomorrow . if there is anything wrong would u please help me :) ?