搜题
用户您好, 请在下方输入框内搜索其它题目:
搜题
题目内容 (请给出正确答案)
提问人:网友 发布时间:
【单选题】

A programmer needs to create a logging method that can accept an arbitrary number of arguments.Forexample,it may be called in these ways:<br /> logIt("log message 1");<br /> logIt("log message 2&rdquo;,&rdquo;log message 3");<br /> logIt("log message 4","log message 5","log message 6");<br /> Which declaration satisfies this requirement()?

A、public void logIt(String*msgs)

B、public void logIt(String[]msgs)

C、public void logIt(String...msgs)

D、public voidl ogIt(Stringmsg1,Stringmsg2,Stringmsg3)

更多“ A programmer needs to create a logging method that can accept an arbitrary number of arguments.Forexample,it may be called in these ways:<br /> logIt("log message 1");<br /> logIt("log message 2&rdquo;,&rdquo;log message 3");<br /> logIt("log message 4","log message 5","log message 6");<br /> Which declaration satisfies this requirement()?”相关的问题
第1题

A、programmable controller  B、programmable logie controller  C、pesonal computer  

点击查看答案
第8题

A、computer  B、computers  C、a computer  

点击查看答案
客服
TOP

请使用微信扫码支付

订单号:
遇到问题请联系在线客服