Reader and Writer interface

Report a typo

Below are the definitions of the Reader and Writer interfaces from the io package:

type Writer interface { 
    Write(p []byte) (n int, err error) 
}
type Reader interface {
    Read(p []byte) (n int, err error)
}

Select the correct statements about the Reader and Writer interfaces.

Select one or more options from the list
___

Create a free account to access the full topic