[Solved] could not find symbol thread.sleep [closed]


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

solved could not find symbol thread.sleep [closed]