A Admin • 833K Points Coach Q. What will happen if you try to assign null to a non-nullable type in Kotlin? (A) It compiles and runs (B) It throws a warning (C) It results in a compile-time error (D) It skips the assignment Correct Answer - Option(C) Views: 13 Filed under category Kotlin Hashtags: Share Manage Tags
Discusssion
Login to discuss.