Beginner
Go (Golang)
Q22 / 100
What is the select statement used for?
Correct! Well done.
Incorrect.
The correct answer is B) Choosing between multiple channel operations, blocking until one can proceed
B
Correct Answer
Choosing between multiple channel operations, blocking until one can proceed
Explanation
select { case v := <-ch1: ... case ch2 <- x: ... default: ... } allows non-blocking or multiplexed channel operations.
Progress
22/100