Java开发网 Java开发网
注册 | 登录 | 帮助 | 搜索 | 排行榜 | 发帖统计  

您没有登录

» Java开发网 » Java SE 综合讨论区  

按打印兼容模式打印这个话题 打印话题    把这个话题寄给朋友 寄给朋友    该主题的所有更新都将Email到你的邮箱 订阅主题
flat modethreaded modego to previous topicgo to next topicgo to back
作者 Re:运行没有main函数的Java类 [Re:linux_china]
ranchgirl



版主


发贴: 801
积分: 132
于 2005-11-21 00:59 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
linux_china wrote:
建议初学者不要这么用,这纯粹是技巧,没有任何实际意义.慎用.


Thanks, linux_china, my dear friend !!!!

Actually, we can write a total C-like code by only using static. I used to work in a telecom company, their all C++ code was not OO at all, just C code compiled in the C++ compiler. I was the first programmer to write OO code there.

I know also another telecom company, all their Java code are actually C, but with Java syntex.

Haha, what you pointed out is actually a 后门 for Java programmers to write C-like code... Of course, we can use main to 走后门 too...

We don't want to 开后门 or 走后门, do we??? Wink Smile Big Smile


gongshi edited on 2005-11-21 01:04


话题树型展开
人气 标题 作者 字数 发贴时间
19625 运行没有main函数的Java类 linux_china 378 2005-11-18 09:46
15663 Re:运行没有main函数的Java类 bluecrystal 6 2005-11-18 10:37
15322 Re:运行没有main函数的Java类 cjyzpcl 21 2005-12-31 15:45
15216 Re:运行没有main函数的Java类 XiaoN 19 2005-12-31 22:06
15483 Re:运行没有main函数的Java类 solo 31 2006-01-01 18:26
15471 Re:运行没有main函数的Java类 ranchgirl 285 2005-11-18 15:34
15500 Re:运行没有main函数的Java类 wmgreat 437 2005-11-18 20:29
15326 Re:运行没有main函数的Java类 ranchgirl 241 2005-11-19 01:57
15794 Re:运行没有main函数的Java类 langziyu 94 2005-11-18 15:59
15674 Re:运行没有main函数的Java类 bukaoyan 11 2005-11-18 16:15
15443 Re:运行没有main函数的Java类 ranchgirl 241 2005-11-18 16:28
15502 Re:运行没有main函数的Java类 Infinite 8 2005-11-20 02:15
15744 Re:运行没有main函数的Java类 Jcat 32 2005-11-20 14:07
15280 Re:运行没有main函数的Java类 linux_china 30 2005-11-20 21:07
13478 Re:运行没有main函数的Java类 ranchgirl 673 2005-11-21 00:59
15962 Re:运行没有main函数的Java类 francis36 17 2005-11-20 22:38
15553 Re:运行没有main函数的Java类 空心菜 126 2005-11-24 15:11
15401 Re:运行没有main函数的Java类 wangyabing 20 2005-12-29 20:28

flat modethreaded modego to previous topicgo to next topicgo to back
  已读帖子
  新的帖子
  被删除的帖子
Jump to the top of page

   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923