[ad_1]
In Java it’s Thread.sleep(500); with capital letter.
Edit
Date_Time is your class. If you want to print the date you need to use Date library
Date d = new Date();
System.out.print(d);
7
[ad_2]
solved could not find symbol thread.sleep [closed]