개발관련/기록
[Java Thread] sleep 매서드는 정적매서드이다.
Josiah
2022. 11. 14. 19:19
728x90
따라서 Thread.sleep() 으로 사용하는 것이 바람직하다.
https://docs.oracle.com/javase/7/docs/api/java/lang/Thread.html
Thread (Java Platform SE 7 )
Allocates a new Thread object so that it has target as its run object, has the specified name as its name, and belongs to the thread group referred to by group, and has the specified stack size. This constructor is identical to Thread(ThreadGroup,Runnable,
docs.oracle.com