title: How to intent from a java class to a kotlin class in Android Studios
body: <p>I am trying to access a kotlin class (b.kt) from a java class (a.java). </p>
  
  <pre><code>Intent intent = new Intent(a.this,b.class);
  startActivity(intent);
  </code></pre>
  
  <p>But I am getting this <code>error: cannot find symbol class RegisterActivity</code>.</p>
  
  <p>Is there a way to access a <code>kotlin</code> class from a <code>java</code> class?</p>
  
  <p>Here is where I called b.kt on a.java</p>
  
  <pre><code>bt_click.setOnClickListener(new View.OnClickListener() {
              @Override
              public void onClick(View v) {
                  Intent intent = new Intent(a.this,b.class);
                  startActivity(intent);
              }
          });
      }
  </code></pre>
  
  <p>Here is b.kt</p>
  
  <pre><code>package com.example.android.app123
  
      import android.app.Activity
      import android.os.Bundle
      import android.support.v7.app.AppCompatActivity
      import android.support.v7.widget.CardView
      import android.util.Log
      import android.widget.EditText
  
  
      class b: AppCompatActivity() {
  
  
          override fun onCreate(savedInstanceState: Bundle?) {
              super.onCreate(savedInstanceState)
              requestWindowFeature(android.view.Window.FEATURE_NO_TITLE)
              setContentView(R.layout.activity_register)
  
  
          }
      }
  </code></pre>