单项选择题
执行代码片段Calendarcal=Calendar.getInstance();System.out.println(c.get(Calendar.DAY_OF_WEEK));打印输出为2,表示()?
A.星期一
B.星期二
C.星期三
D.星期日
点击查看答案&解析
相关考题
-
单项选择题
如果要将日期格式化为字符串可以采用()函数进行操作()
A.parse
B.format
C.getInstance
D.set -
单项选择题
在SimpleDateFormat这个类中哪个方法可以将时间格式化为字符串?()
A.parse
B.formet
C.formant
D.format -
单项选择题
在SimpleDateFormat中()函数可将时间格式化为字符串?
A.parse
B.formet
C.formant
D.format