What does classname.class refer to in Android?
<p>For example, when we create an intent, we use </p>

<pre><code>Intent i = new Intent(MainActivity.this,LoginActivity.class);
</code></pre>

<p>What does <code>.class</code> refer to? Is it the name of the class as a string? Or is it the class itself? Why can't I just pass<code>LoginActivity</code> instead of <code>LoginActivity.class</code>?</p>
