A Admin • 828.03K Points Coach Q. How do you repeat a string 3 times in Kotlin? (A) "Kotlin" * 3 (B) repeat("Kotlin", 3) (C) repeat(3) { "Kotlin" } (D) "Kotlin".repeat(3) Correct Answer - Option(D) Views: 4 Filed under category Kotlin Hashtags: Share Manage Tags
Discusssion
Login to discuss.