Q11.webp
ThanhTam81

Q11.webp

Kizspy | Question: 11
(Choose 1 answer)
FJOVERFLOW.COM
What will be the output of the following code?
public class Test10 {
public static void main(String[] args) {
}}
Integer x = new Integer(5);
Integer y= new Integer(10);
System.out.println((String)(x+y));
A. 15
B. 510
C. Runtime error
D. Compiler Error

Thông tin

Category
PRO192
Thêm bởi
ThanhTam81
Ngày thêm
Lượt xem
2,915
Lượt bình luận
10
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom