title: How can I create null class object in Kotlin?
body: <p>In java, we can declare a null class object like this</p>
  <pre><code>VideoRecord videoRecord;
  </code></pre>
  <p>After that, we can check if it is null or not</p>
  <pre><code>if (videoRecord == null){
      videoRecord = new VideoRecord();
  }
  </code></pre>
  <p>I am new to Kotlin and I would like to do the same thing in Kotlin. I have tried this code below.</p>
  <pre><code>lateinit var videoRecord1:VideoRecord
  
  if (videoRecord1 == null){
      videoRecord1 = VideoRecord()
  }
  </code></pre>
  <p>But it gives me a warning like the condition <code>videoRecord1 == null</code> is always false. How can I make the same thing in Kotlin?</p>