?
This code snippet compiles without error, but never prints the results when executed. What could be wrong?
This code snippet compiles without error, but never prints the results when executed. What could be wrong?
Val result = generateSequence(1) { it + 1 }.toList(); Println(result)
Val result = generateSequence(1) { it + 1 }.toList(); Println(result)
Join the Discussion
Login to post a comment or share your explanation.
Login