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

Given that file is a reference to a File object that represents a directory, which code fragments will succeed in obtaining a list of the entries in the directory?()  

A、Vector filelist = ((Directory) file).getList();

B、String[] filelist = file.directory();

C、Enumeration filelist = file.contents();

D、String[] filelist = file.list();

E、Vector filelist = (new Directory(file)).files();

更多“Given that file is a reference to a File object that represents a directory, which code fragments will succeed in obtaining a list of the entries in the directory?()  ”相关的问题
客服
TOP

请使用微信扫码支付

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