可学答题网 > 问答 > OCJP(310-065)题库
目录: 标题| 题干| 答案| 搜索| 相关
问题

Given: 12.Date date = 


Given: 12.Date date = new Date(); 13.df.setLocale(Locale.ITALY); 14.String s = df.format(date); The variable df is an object of type DateFormat that has been initialized in line 11. What is the result if this code is run on December 14, 2000?()

  • AThe value of s is 14-dic-2000.
  • BThe value of s is Dec 14, 2000.
  • CAn exception is thrown at runtime.
  • DCompilation fails because of an error in line 13.
参考答案
参考解析:
分类:OCJP(310-065)题库
相关推荐

1、若a=5,b=3,c=4,逻辑表达式!(a+b)&;&;!c的值

若a=5,b=3,c=4,逻辑表达式!(a+b)&;&;!c的值为()A0B-1C1D2

2、AMPS属于()。

AMPS属于()。A1GB2GC3GD4G

3、cAMP(cyclic AMP)

cAMP(cyclic AMP)

4、表达式10>5&&6%3的值是()

表达式10>5&&6%3的值是()A-1B非零值C0D1

5、AMPS

AMPS

6、“频段0”的CDMA2000-1X系统沿用了AMPS的信道编号,一个AMPS

“频段0”的CDMA2000-1X系统沿用了AMPS的信道编号,一个AMPS的信道编号对应的频谱宽度是多少?()A200KHzB30KHzC25KHzD150KHz