PRO192_-_SU_2025_-_Quiz_-_SL4_3927.webp
Hữu Vinh

PRO192_-_SU_2025_-_Quiz_-_SL4_3927.webp

Question 3
Not yet
answered
Flag question
What will be the output of the following code snippet?
public class Main {
public static void main(String[] args) {
}
String str = "Java";
StringBuilder sb = new StringBuilder(str);
sb.reverse();
System.out.println(sb.toString());
○ A. avaJ
B. Compilation error
○ C. Java
D. Runtime error

Thông tin

Category
PRO192
Thêm bởi
Hữu Vinh
Ngày thêm
Lượt xem
507
Lượt bình luận
2
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom