试题详情
- 单项选择题 Given: 22.StringBuilder sb1 = new StringBuilder("123"); 23.String s1 = "123"; 24.// insert code here 25.System.out.println(sb1 + " " + s1); Which code fragment, inserted at line 24, outputs "123abc 123abc"?()
A、sb1.append("abc"); s1.append("abc");
B、sb1.append("abc"); s1.concat("abc");
C、sb1.concat("abc"); s1.append("abc");
D、sb1.concat("abc"); s1.concat("abc");
E、sb1.append("abc"); s1 = s1.concat("abc");
- E
关注下方微信公众号,在线模考后查看
热门试题
- Which statement crea
- You have been tasked
- A developer is creat
- Which clause should
- You created
- Examine the structu
- An RMAN b
- Which commands
- ViewtheExhibittoexam
- View the E
- Which object privile
- Globalization suppor
- You have
- RMAN provides more g
- Which two̳
- You perform
- 为了减少表中的链接记录和迁移记录,应当增
- Which statemen
- You developing
- Given: Whatistheres