Using _________ instead of concatenation in loops for string manipulation enhances performance in servlets.

  • CharArray
  • String
  • StringBuffer
  • StringBuilder
Using StringBuilder instead of concatenation in loops for string manipulation enhances performance in servlets because StringBuilder is more efficient in handling string concatenation operations.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *