Câu 33: GSSP-Java: GIAC Secure Software Programmer-Java
What will be the output of the following code snippet?class test22{public static void main(String args[]){String str= new String("Hello");str.insert(3,"bye");System.out.println(str);}}
Nội dung câu hỏi
What will be the output of the following code snippet?class test22{public static void main(String args[]){String str= new String("Hello");str.insert(3,"bye");System.out.println(str);}}
Các lựa chọn
Đáp án được giữ gọn theo nhãn A, B, C, D trong phần bình chọn tương tác.
- A. It will display Hello.
- B. It will display Helbyelo.
- C. It will throw NFE.
- D. It will generate a compile-time error. — đáp án hiện tại
Cộng đồng
0 bình luận công khai. Tên thành viên được ẩn một phần.
Chưa có bình luận. Mở giao diện tương tác để bắt đầu thảo luận.