StringBuilder sb = new StringBuilder(); sb.append('a');
StringBuilder sb = new StringBuilder(); sb.append("Hello World!");
StringBuilder sb = new StringBuilder(); sb.append('a').append('b').append('c');
import java.io.*;Overall, using StringBuilder can be a more efficient way of manipulating strings in Java because it avoids the creation of multiple objects.