Tail Recursion in java
<p>Is this a good example to show tail recursion?</p>

<pre><code>public printName(){
    System.out.println("Smith");
    printName();
}
</code></pre>

<p>I'm not intending to do this in real life, but i put this as an example for my exam. Is this one correct?</p>
