In the below code, which code fragment should be inserted at line 3 so that the output will be: “123abc 123abc” ...? - Study24x7
Social learning Network
study24x7

Default error msg

Login

New to Study24x7 ? Join Now
Already have an account? Login
683 followers study24x7 16 May 2019 04:05 PM study24x7 study24x7

In the below code, which code fragment should be inserted at line 3 so that the output will be: “123abc 123abc” ...?

In the below code, which code fragment should be inse...
A

sb1.append(“abc”); s1.append(“abc”);

B

sb1.append(“abc”); s1.concat(“abc”);

C

sb1.concat(“abc”); s1.append(“abc”);

D

sb1.append(“abc”); s1 = s1.concat(“abc”);

study24x7
Write a comment
Related Questions
500+   more Questions to answer
Most Related Articles