Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

java to kotlin tutorial

val name: String? = null

var lastName: String?
lastName = null

var firstName: String
firstName = null // Compilation error!!
Source by www.baeldung.com #
 
PREVIOUS NEXT
Tagged: #java #kotlin #tutorial
ADD COMMENT
Topic
Name
3+4 =