Kotlin - Statement Null syntax

Introduction

Kotlin requires that a variable that can assigned to null be declared with a ?:

var str: String? = null 

This next example would result in a compile time error:

var str: String = null