已知java.util.Date[]
dates = new java.util.Date[10], 以下哪个描述是正确的?()
A: dates
is null
B: dates[0]
is null
C: dates
= new Date() is fine, which creates a new Date object and
assigns
to dates
D: dates
= new java.util.Date[5] is wrong
dates = new java.util.Date[10], 以下哪个描述是正确的?()
A: dates
is null
B: dates[0]
is null
C: dates
= new Date() is fine, which creates a new Date object and
assigns
to dates
D: dates
= new java.util.Date[5] is wrong
举一反三
- 已知 java.util.Date[] dates = new java.util.Date[10], 以下哪个描述是正确的?(). A: dates is null B: dates[0] is null C: dates = new Date() is fine, which creates a new Date object and <br/>assigns to dates D: dates = new java.util.Date[5] is wrong
- 假设java.util.Date[] dates = new java.util.Date[10],下列哪些说法是正确的? A: dates 的值为 null. B: dates[0] 为 null C: dates = new java.util.Date[5] 是正确的,为dates分配了一个新数组的引用 D: dates = new Date() 是正确的,它创建一个新的date对象,并把它复制给dates
- 【单选题】The culture Tang Dynasty. A: dates on B: date to C: dates from
- L/C indicates three dates, which must be met to be paid: the latest date for shipment, the expiry date for presentation of documents and the expiry date of the L/C.
- 分析以下代码并选择最佳答案:A或B中的下列哪一个代码,或两者都创建日期类的对象? A:[br][/br] publicclassTest{[br][/br] public Test() {[br][/br] new java.util.Date();[br][/br] }[br][/br] }[br][/br] [br][/br] B:[br][/br] publicclassTest{[br][/br] public Test() {[br][/br] java.util.Date date = new java.util.Date();[br][/br] }[br][/br] } A: A B: B C: 二者都不