标题:哪位能告诉我程序错在哪吗?
取消只看楼主
叶兵
Rank: 1
等 级:新手上路
帖 子:32
专家分:0
注 册:2006-4-14
 问题点数:0 回复次数:1 
哪位能告诉我程序错在哪吗?
import java.io.*;
public class filescopy{
public static void mani(String [] arge) throws IOException{
File inputfile=new File("F://a.txt");
File outputfile=new File("F://b.txt");
FileReader in=new FileReader(inputfile);
FileWriter out=new FileWriter(outputfile);
int c;
while((c=in.read()) !=-1)
out.write(c);
in.close();
out.close();
}
}
编译能通过  但执行的时候出现 exception in thread "main" java.lang.nosuchmethoderror: main 其中我在f盘中建了个a.txt文件  里面有几个简单的汉字.有哪位能给我看看吗?
搜索更多相关主题的帖子: class public import 
2007-10-06 17:22
叶兵
Rank: 1
等 级:新手上路
帖 子:32
专家分:0
注 册:2006-4-14
得分:0 
谢谢

I believe i can
2007-10-06 18:11



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-175462-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 2.398015 second(s), 8 queries.
Copyright©2004-2025, BCCN.NET, All Rights Reserved