Topic: [请教]main的哪个参数是传递命令行中输入参数个数的?

  Print this page

1.[请教]main的哪个参数是传递命令行中输入参数个数的? Copy to clipboard
Posted by: mitnickcbc
Posted on: 2002-12-13 12:39


2.main的哪个参数是传递命令行中输入参数个数的? [Re: mitnickcbc] Copy to clipboard
Posted by: xren
Posted on: 2002-12-13 12:52

可以察看数组的长度 args.length 得知参数的个数!

3.Re:[请教]main的哪个参数是传递命令行中输入参数个数的? [Re: mitnickcbc] Copy to clipboard
Posted by: mitnickcbc
Posted on: 2002-12-13 12:57

哈,我刚才刚想到,不过还是要谢谢你啦。

4.Re:[请教]main的哪个参数是传递命令行中输入参数个数的? [Re: mitnickcbc] Copy to clipboard
Posted by: zhjfirst
Posted on: 2002-12-17 14:37

这也太初级了吧,

java的特点:面向对象,一切都从点后面取

5.Re:[请教]main的哪个参数是传递命令行中输入参数个数的? [Re: mitnickcbc] Copy to clipboard
Posted by: mitnickcbc
Posted on: 2002-12-17 16:26

呵呵,人人都有初学的过程,还请大哥不要见笑。

6.Re:[请教]main的哪个参数是传递命令行中输入参数个数的? [Re: mitnickcbc] Copy to clipboard
Posted by: floater
Posted on: 2002-12-17 23:36

There is an old saying:

"Everyone is ignorant, but just in different subjects."

Tongue


   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