Given:1.disavalid,non-nullDateobject2.dfisavalid,non-nullDateFormatobjectsettothecurrentlocaleWhatoutputsthecurrentlocale’scountrynameandtheappropriateversionofd’sdate?()

题目内容(请给出正确答案)
Given:1.disavalid,non-nullDateobject2.dfisavalid,non-nullDateFormatobjectsettothecurrentlocaleWhatoutputsthecurrentlocale’scountrynameandtheappropriateversionofd’sdate?()

A.Localeloc=Locale.getLocale();System.out.println(loc.getDisplayCountry()+""+df.format(d));

B.Localeloc=Locale.getDefault();System.out.println(loc.getDisplayCountry()+""+df.format(d));

C.Localeloc=Locale.getLocale();System.out.println(loc.getDisplayCountry()+""+df.setDateFormat(d));

D.Localeloc=Locale.getDefault();System.out.println(loc.getDisplayCountry()+""+df.setDateFormat(d));

如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。