标题:java 中的错误?
只看楼主
Iamagays
Rank: 1
等 级:新手上路
帖 子:60
专家分:0
注 册:2007-6-21
得分:0 
我想请问一下
为什么把void去掉
还是有错误呢?
E:\JavaLession\Lession1>javac Ex_CharSet.java
Ex_CharSet.java:6: cannot access System
bad class file: .\System.java
file does not contain class System
Please remove or make sure it appears in the correct subdirectory of the classpa
th.
              InputStreamReader read =new InputStreamReader(System.in);
                                                            ^
1 error
2008-02-16 22:13



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




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

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