InputStream fin1 = new InputStream(System.in);
OutputStream fout2 = new OutputStream

解决方案 »

  1.   

    不是说的很清楚吗,构造函数的参数错误.FileInputStream的构造函数传入的不是java.io.InputStream!!!!,而是一个FIle,或是一个String,具体的,你看看jdk帮助吧.下面的那个也是一样.
      

  2.   

    说的对FileInputStream和FileOutputStream()里面的参数必须是一File类型的
      

  3.   

    我晕!!
     jFresH_MaN()(AbsolutelyFresh)(java欣人) 
     InputStream fin1 = new InputStream(System.in);//这也行?大哥你忘记了吧,InputStrean的构造函数是没有参数的。
    ============================================================
    FileInputStream fin1 = new FileInputStream(System.in);改成BufferedInputStream fin1 = new BufferedInputStream(System.in);
    FileOutputStream fout2 = new FileOutputStream(System.out);改成BufferedOutputStream fout2 = new BufferedOutputStream(System.out);