Count the number of letters : <p>I block completely on a small problem. I want to count the number of letters for each names. My problem is here I think.</p>

<pre><code>System.out.println("The name " + tab[i] + "contains " + length.tab[i] + " letters"); 
</code></pre>

<p>Here is my code below : </p>

<pre><code>String[] tab = {"Jean-Michel", "Marc", "Vanessa", "Anne", "Maximilien", "Alexandre-Benoît", "Louise"};
        int i = 0;

        while(i &lt; tab.length){
            System.out.println("The name " + tab[i] + "contains " + length.tab[i] + " letters");
            i = i +1;
        }
</code></pre>
