味全龍加油
2006-09-07 15:31:05 UTC
謝謝
Is there anyone can answer the following questions for me?
1. May I replace public to private as
private static void main(...){...}
If not, why not
2. May I compile with
private void main(...){...}
that is no static
If not, why not
3. May I switch by this way
private void static main(...){...}
If not why not
Thanks
--
不懂你的心 究竟躲著甚麼
不懂為甚麼要我放開手
不懂愛情為何不長久
好想對你說 說不願就此分手
你只是默默對我搖搖頭
微笑說我們永遠做朋友
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 24.98.113.197
Is there anyone can answer the following questions for me?
1. May I replace public to private as
private static void main(...){...}
If not, why not
2. May I compile with
private void main(...){...}
that is no static
If not, why not
3. May I switch by this way
private void static main(...){...}
If not why not
Thanks
--
不懂你的心 究竟躲著甚麼
不懂為甚麼要我放開手
不懂愛情為何不長久
好想對你說 說不願就此分手
你只是默默對我搖搖頭
微笑說我們永遠做朋友
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 24.98.113.197