PRO192_-_FA_2023_-_FE_1027.webp
Erza_girl

PRO192_-_FA_2023_-_FE_1027.webp

2
Answer (Choose 1 answer)
A. StringBuilder s = new StringBuilder("123456789"); s.substring(3.6).delete( 1 2).insert( 1. "24");
B. StringBuffer s = new StringBuffer("123456789"); s.delete(0,3).replace( 1,3,"24");
C. StringBuffer s = new StringBuffer("123456789"); s.substring(3,6).delete( 1 3).insert( 1, "24");
D. String s = "123456789"; s (s-"123").replace(1.3."24") "89":
Given:
1. public class TestString3 {
2. public static void main(String[] args) {
23567 3.5.
System.out.println(s);
6. } 7.}
Which code fragment, inserted at line 3, generate the output 424789?
// insert code here


Thông tin

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

Image metadata

Filename
PRO192_-_FA_2023_-_FE_1027.webp
File size
55.9 KB
Dimensions
1542px x 690px

Share this media

Back
Bên trên Bottom