试题详情
单项选择题 Given a vaid DateFormat object named df, and 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){ }

  • C
  • 关注下方微信公众号,在线模考后查看

热门试题