java class initialization explanation
<p>I kind of new to java and will be happy if anybody could explain the following code samples to me.This is just a sample java code snippet for illustration. But the main question is that if the class Learn initializes another class Smart with a parameter which is also a class Object , then the addition of the dot class to the class Object Sample is kind of confusing to me. Any explanation will be appreciated. I apologize if it is a basic question. thanks.</p>

<pre><code>class Learn {
//some codes 
Smart smart = new Smart(Sample.class);
//some codes
} 
</code></pre>
