Java - Strings and String Handling
Which of the following is the correct way to append "World" to a
StringBuilder named sb?StringBuilder named sb?StringBuilder uses append() to add text at the end.add() and concat() are not methods of StringBuilder. insert() inserts at a position, not just append.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions