Skip to content

Instantly share code, notes, and snippets.

@dustinmarx
Created April 29, 2019 12:52
Demonstrate Explicit StringBuilder Usage
package dustin.examples;
import static java.lang.System.out;
public class HelloWorldStringBuilder
{
public static void main(final String[] arguments)
{
out.println(new StringBuilder().append("Hello, ").append(arguments[0]).toString());
}
}
@dustinmarx
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment