Let's say I have this code:
public class helloworld
{
public static void main(String args[])
{
System.out.println("Hello World!");
}
}
Using threads, is there a way I can make Hello world echo continuously every 5 seconds?
See Question&Answers more detail:os