新建FileInputStream的对象时, 在编绎时总出现标志性错误--cannot resolve symbol InputStream fin1 = new InputStream(System.in);OutputStream fout2 = new OutputStream 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 不是说的很清楚吗,构造函数的参数错误.FileInputStream的构造函数传入的不是java.io.InputStream!!!!,而是一个FIle,或是一个String,具体的,你看看jdk帮助吧.下面的那个也是一样. 说的对FileInputStream和FileOutputStream()里面的参数必须是一File类型的 我晕!! 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); 求DataOutputStream初始化差异比较 java swing关于JTabbedPane问题,大家帮忙看看,小弟实在受打击了 接口声明实例? 求Tomcat在Eclipse3.1.2中的插件 tomcatPluginV3.zip 我的java学习方法有误吗 有用java作过单纯形法的朋友吗? 为什么打开某些网页,状态栏会出现Java控制台。 才学不久,希望能看一些简单程序的源码。 jxta 问题求教 送分 Java的protected访问修饰符 问一道题目????在线等 求助:有关文件操作方面的问题
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);