Chatbox

Các bạn vui lòng dùng từ ngữ lịch sự và có văn hóa,sử dụng Tiếng Việt có dấu chuẩn. Chúc các bạn vui vẻ!
10/10/2020 15:10 # 1
luuhien
Cấp độ: 9 - Kỹ năng: 5

Kinh nghiệm: 5/90 (6%)
Kĩ năng: 45/50 (90%)
Ngày gia nhập: 19/10/2010
Bài gởi: 365
Được cảm ơn: 145
In JDK 1.5, analyze the following code.


a. It is OK to assign 1, 2, 3 to an array of Integer objects in JDK 1.5.
b. It is OK to automatically convert an Integer object to an int value in Line 2.
c. It is OK to mix an int value with an Integer object in an expression in Line 3.
d. Line 4 is OK. An int value from intArray[0] object is assigned to a double variable d.




 
Copyright© Đại học Duy Tân 2010 - 2024