Question

In Go, what is the purpose of a goroutine?

A A goroutine is a data structure for organizing data. Correct Answer Incorrect Answer
B A goroutine is a thread-like lightweight concurrent function. Correct Answer Incorrect Answer
C A goroutine is a type of data structure used for data persistence. Correct Answer Incorrect Answer
D A goroutine is a database in-memory cache. Correct Answer Incorrect Answer
E None of the mentioned Correct Answer Incorrect Answer

Solution

The correct answer is B

Practice Next
×
×