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

    Solution

    A goroutine is a thread-like lightweight concurrent function.

    Practice Next

    Relevant for Exams: