프로그래밍/자바

[자바] sleep함수

do121 2024. 2. 9. 03:23
    private static void sleep(int millis) {
        try {
            Thread.sleep(millis);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
    }