Concatenating strings and bytes

Report a typo

Suppose you have a Go program with the builder variable of the strings.Builder type, and that you call different write methods to write data to the builder:

var builder strings.Builder

builder.WriteString("ABC")
builder.Write([]byte{68, 69, 70})
builder.Write([]byte{'4', '5', '6'})

What would be the output of builder if you printed it using fmt.Println(builder.String())?

Select one option from the list
___

Create a free account to access the full topic