

MCQOPTIONS
Saved Bookmarks
1. |
In the below code, which code fragment should be inserted at line 3 so that the output will be: 234pqr 234pqr ? |
A. | strbuilder .append( pqr ); str.concat( pqr ); |
B. | strbuilder .append( pqr ); str1 = str1.concat( pqr ); |
C. | strbuilder .append( pqr ); str.append( pqr ); |
D. | strbuilder .concat( pqr ); str.append( pqr ); |
E. | None of these |
Answer» C. strbuilder .append( pqr ); str.append( pqr ); | |