mirror of
https://github.com/dschmenk/VM02.git
synced 2024-05-29 04:41:32 +00:00
12 lines
219 B
Java
Executable File
12 lines
219 B
Java
Executable File
public class Timer {
|
|
public static void main(String args[])
|
|
{
|
|
int i;
|
|
while (System.in.available() == 0)
|
|
{
|
|
i = (int)System.currentMillis();
|
|
System.out.println(i);
|
|
Thread.currentThread().yield();
|
|
}
|
|
}
|
|
} |