Redian新闻
>
奇怪!!Re: 大侠救命, java 初级问题,在线等待,急!
avatar
奇怪!!Re: 大侠救命, java 初级问题,在线等待,急!# Java - 爪哇娇娃
j*1
1
【 以下文字转载自 Complain 讨论区 】
发信人: mitbbs (未名空间), 信区: Complain
标 题: Re: [投诉]TrustinJesus版主Dignity两天之内狂删我19篇主题帖
发信站: BBS 未名空间站 (Tue Jun 28 02:58:38 2011, 美东)
由于版内炸版,会引起误删。版主可恢复其误删的帖子
avatar
j*s
2
真的有时侯有用,谢谢了!
但是很奇怪, 这个 A.java compiler , generate 4 class file,
which are A$1.class, A$2.class, A.class, A$maincontrol.class
Why become that?
And I can only cut other file and generate this class.
THe method does not work for other file
Anyone has idea?
thanks
avatar
s*y
3
看一下,在A.java中是否有内部类(inner class),如果有是会编译出这种class的。

【在 j****s 的大作中提到】
: 真的有时侯有用,谢谢了!
: 但是很奇怪, 这个 A.java compiler , generate 4 class file,
: which are A$1.class, A$2.class, A.class, A$maincontrol.class
: Why become that?
: And I can only cut other file and generate this class.
: THe method does not work for other file
: Anyone has idea?
: thanks

avatar
q*e
4
They are anonymous classes. If you don't know
what is anonymous class, just disregard it.

【在 j****s 的大作中提到】
: 真的有时侯有用,谢谢了!
: 但是很奇怪, 这个 A.java compiler , generate 4 class file,
: which are A$1.class, A$2.class, A.class, A$maincontrol.class
: Why become that?
: And I can only cut other file and generate this class.
: THe method does not work for other file
: Anyone has idea?
: thanks

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。