日期:2014-05-20 浏览次数:20908 次
public class Test {
public static void main(String[] args)
{
try
{
int c;
while((c = System.in.read())!=-1)
{
System.out.write(c);
}
}
catch (Exception e)
{
// TODO Auto-generated catch block
e.printStackTrace();
}
}
}