ExamVeda
Login
Home
This question belongs to Computer Science Kotlin Program
Kotlin Program
?

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)

Answer & Solution
Correct Answer: Option A
Let's discuss the solution. Join the discussion
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.