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();
正确答案:E,F
答案解析:有
微信扫一扫手机做题