欢迎来到财会考试题库网 财会考试题库官网
logo
全部科目 > Oracle认证考试 > OCJP(310-065)

单项选择题

Given a valid DateFormat object named df,and
16.Date d = new Date(0L);
17.String ds = "December 15, 2004";
18.//insert code here
What updates d’s value with the date represented by ds?()

    A.18. d = df.parse(ds);
    B.18. d = df.getDate(ds);
    C.18. try {19. d = df.parse(ds);20. } catch(ParseException e) { };
    D.18. try {19. d = df.getDate(ds);20. } catch(ParseException e) { };

点击查看答案

相关考题

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

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