I Want Help Related to Sleep() and printen()
import java.util.*;
public class example
{
public static void main(String[]args)
{
int i = 1;
int a = 4;
while( i < 4 )
{
i++;
a--;
sleep(1000);
System.out.println("\t\t\t\t The Game Begins In...");
System.out.print("\t\t\t\t " + a);
}
}
}
I got Errors
cannot find symbol
symbol : method sleep(int)
location: class example
sleep(1000);
Please Help me to solve this