Q11.webp
N

Q11.webp

Question: 11
(Choose 1 answer)
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
NgocHanh90
Ngày thêm
Lượt xem
1,700
Lượt bình luận
5
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom