Answers for "Type inference in kotlin"

0

Type inference in kotlin

// The following variable is assigned a text value within double quotes, thus the inferred type is String 
 
var color = "Purple"
Posted by: Guest on March-10-2022

Browse Popular Code Answers by Language