Answers for "kotlin queue"

0

kotlin queue

import java.util.LinkedList


fun main() {

	val queueA = LinkedList<Int>()
    
    queueA.add(1)
    queueA.add(2)

    print(queueA.poll())
}
Posted by: Guest on April-19-2020

Browse Popular Code Answers by Language