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

(새 문서: ==개요== ;Press enter to continue... ==Java== {{참고|자바 Press enter to continue... }} 분류:Java <syntaxhighlight lang='java'> import java.io.IOException; public class...)
 
9번째 줄: 9번째 줄:


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...

2 Java

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();
    }
}
문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}