1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
import java.io.IOException;
 
/** 
 * 자바의 표준 입출력 필드(Field)에 대하여
 * - in, out, err
 * 
 * */
/*import java.lang.*;*/
import java.io.*;
 
public class Exam_01 { // Exam_01 클래스
    
    public static void main(String[] ar)throws IOException{ // main 메서드
        System.err.println("표준 에러 출력 스트림");        
        int x = System.in.read();    
        System.out.println("x = " + x);
        System.out.println("표준 출력 스트림");
        
    } // main 메서드의 끝
    
// Exam_01 클래스의 끝
 
cs


+ Recent posts