总结:
package com.aini;
import java.io.*;
public class tre {
public static void main(String[] args) {
int b;
try {
System.out.println("Please input:");
while ((b = System.in.read()) != -1) {
System.out.print((char) b);
}
} catch (IOException e) {
System.out.println(e.toString());
}
}
}
//
Please input:
tre
tre
erw
erw
32
32
23
23
fsd
fsd