Android Intents, questions about setClass()
<p>I just started learning android programming and while working through the android Tab Layout tutorial I noticed they created a new Intent with the following code. </p>

<pre><code>// Create an Intent to launch an Activity for the tab (to be reused)
intent = new Intent().setClass(this, ArtistsActivity.class);
</code></pre>

<p>Up until now, all the books I've read have created a new intent using</p>

<pre><code>intent = new Intent(this, ArtistActivity.class);
</code></pre>

<p>and was wondering if there is a difference between the two lines of code.</p>
