欢迎来到求知题库网 求知题库官网
logo
全部科目 > Java认证考试 > SCJP程序员认证考试

单项选择题

11. public class Counter { 
12. public static void main(String[] args) { 
13. int numArgs = /* insert code here */; 
14. } 
15. } 
and the command line: java Counter one fred 42 Which code, inserted at line 13, captures the number of arguments passed into the program?() 

    A. args.count
    B. args.length
    C. args.count()
    D. args.length()
    E. args.getLength()

点击查看答案&解析

相关考题

微信小程序免费搜题
微信扫一扫,加关注免费搜题

微信扫一扫,加关注免费搜题

微信扫一扫,加关注免费搜题

微信扫一扫,加关注免费搜题