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

多项选择题

14. DateFormat df; 
15. Date date = new Date(); 
16. //insert code here 
17. String s = df.format( date); 
Which two,inserted independently at line 16, allow the code to compile?()

    A. df= new DateFormat();
    B. df= Date.getFormatter();
    C. df= date.getFormatter();
    D. df= date.getDateFormatter();
    E.df = DateFormat.getDateInstance();
    F. df= DateFormat.getInstance();

点击查看答案&解析

相关考题

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

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