Which statement will empty the contents of a StringBuilder variable named sb?
Which statement will empty the contents of a StringBuilder variable named sb?
Question:
Which statement will empty the contents of a StringBuilder variable named sb?
Options:
sb. deleteAII 0;
sb. delete (0, sb. size 0);
sb. delete (0, sb. length 0);
sb. removeAII 0;
Correct Answer
The Correct Answer for this Question is
sb. delete (0, sb. length 0);