广告广告
  加入我的最爱 设为首页 风格修改
首页 首尾
 手机版   订阅   地图  繁体 
您是第 2916 个阅读者
 
发表文章 发表投票 回覆文章
  可列印版   加为IE收藏   收藏主题   上一主题 | 下一主题   
Kuster
个人头像
个人文章 个人相簿 个人日记 个人地图
特殊贡献奖 终身成就奖
小有名气
级别: 小有名气 该用户目前不上站
推文 x0 鲜花 x33
分享: 转寄此文章 Facebook Plurk Twitter 复制连结到剪贴簿 转换为繁体 转换为简体 载入图片
推文 x0
文章表情[Java] 请问这算执行jar档案的另类指令吗?
今天我有一个a.jar的档案,里面main-class的名称叫做main
我们都知道,执行这个a.jar的 ..

访客只能看到部份内容,免费 加入会员 或由脸书 Google 可以看到全部内容




为这世界尽一份心力吧!

献花 x0 回到顶端 [楼 主] From:台湾教育部国中 | Posted:2005-03-16 08:45 |
PiCkAjEw
数位造型
个人文章 个人相簿 个人日记 个人地图
路人甲
级别: 路人甲 该用户目前不上站
推文 x0 鲜花 x0
分享: 转寄此文章 Facebook Plurk Twitter 复制连结到剪贴簿 转换为繁体 转换为简体 载入图片

1) Yes, it is legal, so it's compiled and able to run. But it's considering not a good programming style!

2) A name of a class should indicate or encapsulate the primary function of the class. The name, main to me is not too significant. And it may create confusion for further maintainese.


献花 x0 回到顶端 [1 楼] From:美国 | Posted:2005-07-22 07:02 |

首页  发表文章 发表投票 回覆文章
Powered by PHPWind v1.3.6
Copyright © 2003-04 PHPWind
Processed in 0.018581 second(s),query:16 Gzip disabled
本站由 瀛睿律师事务所 担任常年法律顾问 | 免责声明 | 本网站已依台湾网站内容分级规定处理 | 连络我们 | 访客留言