"자바 Press enter to continue..."의 두 판 사이의 차이

 
6번째 줄: 6번째 줄:


public class Main {
public class Main {
     public static void main(String[] args) throws InterruptedException, IOException {
     public static void main(String[] args) throws IOException {
         System.out.println("Press enter to continue...");
         System.out.println("Press enter to continue...");
         System.in.read();
         System.in.read();

2021년 10월 16일 (토) 18:37 기준 최신판

1 개요[ | ]

자바 Press enter to continue...
import java.io.IOException;

public class Main {
    public static void main(String[] args) throws IOException {
        System.out.println("Press enter to continue...");
        System.in.read();
    }
}

2 같이 보기[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}