Difference between TimeUnit and Thread Sleep in Java

Tutorials Shared by the Internet Community

Advertisements


Difference between TimeUnit and Thread Sleep in Java

TimeUnit has a sleep method similar to java.lang.Thread sleep() method, which can be used to introduce pause in Java program. This tutorial advise why

Statistics

  • Total Hits - 32004

  • Total Votes - 100 votes

  • Vote Up - 43 votes

  • Vote Down - 57 votes

  • Domain - javarevisited.blogspot.com

  • Category - JAVA/JAVA Misc

  • Submitted By - Javin Paul

  • Submitted on - 2013-05-10 16:12:48

Description

    More detail...


Broken  |   Tweet  |   Facebook  |     |   Save  |   Liked  |   Down

Advertisements