All challenges
Multiple ChoiceBeginner 180s

Go: Stringer

What interface does fmt.Println use for custom output?
Options
  1. 1Writer (Write(p) method)
  2. 2Stringer (String() string)
  3. 3Reader (Read(p) method)
  4. 4Scanner (Scan method) reads

Think you can answer under pressure?

Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.

Play this in a 3-minute battle