Duong Nguyen

1 bundle
1 file19 days ago
2

Untitled

1234567891011121314151617181920    public class Test{
        
    public static void p1kbd2scr() {
        byte[]	linebuf = new byte[1024];
	int	n;

	try {
            while((n = System.in.read(linebuf)) >= 0) {
		System.out.write(linebuf, 0, n);
	    }
        } catch(Exception ex) {
	    System.err.println(ex.getMessage());
	}
    }
    public static void main(String[] args) {
    	   p1kbd2scr();
    }

    }