How Do I make matrix 16 x 16 from String?
<p>I have a  string</p>

<pre><code>String word = "FrenciusLeonardusNaibaho";
</code></pre>

<p>while I'm trying to make matrix like this:</p>

<pre><code>char matriks[][] = new char[16][16];
    int k = 0;

    for (int i = 1; i &lt; 16; i++) {
        for (int j = 1; j &lt; 16; j++) {
            matriks[i][j] = word.charAt(k);
            k++;
        }
    }
</code></pre>

<p>I got this error </p>

<pre><code>String index out of range: 24
</code></pre>

<p>How can I achieve this?
Thanks..</p>
