Article View: cn.bbs.comp.lang.java
Article #22276Re: �ʸ�����
From: 182 / 57 / >12
Date: Thu, 02 Oct 2003 13:05
Date: Thu, 02 Oct 2003 13:05
38 lines
2011 bytes
2011 bytes
�� �� gofaster (zw) �Ĵ������ᵽ: ��
: �� ��: �ʸ�����
: ����վ: ����δ��վ (2003��10��02��20:41:22 ������) , վ���ż�
:
: ��ѧjava,���������ô�ܴ?��ָ�㡣
: class tryit{
: public static void main (String[] args) {
: int a=System.in.read();
: System.out.println("a="+a);
: }
: }
: ������Ϣ��
: C:\Program Files\Xinox Software\JCreator Pro\MyProjects\exec.java:3: unreport
: ed exception java.io.IOException; must be caught or declared to be thrown
~~~~~~~~~~~~~~~~~~~~~~~~~~˵���ú����
��Ҫ����һ��
try {
...<move to this>
} catch( IOException e ) {
..<Exception operation>
}
: int a=System.in.read();
:
:
: --
:
: [m[1;32m�� ��Դ:������δ��վ bbs.pku.edu.cn��[FROM: 162.105.99.86][m
--
A.B C.D.E F.G.a.b c
��con brio��
Zzzzzzz
[m[1;31m�� ��Դ:������δ��վ bbs.pku.edu.cn��[FROM: 162.105.210.82][m
Technical Details
Message-ID:
<48UgfH$ACP@bbs.pku.edu.cn>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!sn-xit-03!sn-xit-04!sn-xit-06!sn-xit-09!supernews.com!newshosting.com!news-xfer1.atl.newshosting.com!newsfeed.news2me.com!elnk-nf2-pas!newsfeed.earthlink.net!sjc70.webusenet.com!news.webusenet.com!maily.cic.tsinghua.edu.cn!news.happynet.org!PKUShow Full Headers
Complete Article Headers
X-Google-Language: Chinese,GB X-Google-Thread: f6cb0,41a7864c46bbf382,start X-Google-Attributes: gidf6cb0,public X-Google-ArrivalTime: 2003-10-02 06:08:03 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!sn-xit-03!sn-xit-04!sn-xit-06!sn-xit-09!supernews.com!newshosting.com!news-xfer1.atl.newshosting.com!newsfeed.news2me.com!elnk-nf2-pas!newsfeed.earthlink.net!sjc70.webusenet.com!news.webusenet.com!maily.cic.tsinghua.edu.cn!news.happynet.org!PKU From: SmallX@bbs.pku.edu.cn (182 / 57 / >12) Newsgroups: cn.bbs.comp.lang.java Subject: Re: �ʸ����� Date: 02 Oct 2003 13:05:36 GMT Organization: ����δ��վ Message-ID: <48UgfH$ACP@bbs.pku.edu.cn> Mime-Version: 1.0 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: 8bit X-Filename: Java/M.1065099713.A Lines: 38