java print out from Construct's class
<p>How do I print out this code from <code>getTiles(ArrayList input_list_of_strings)</code>? I try so many way, but it did not print out from <code>main()</code>. Here is my code. </p>

<pre><code>import java.util.ArrayList;

public class HW2 {

public static ArrayList getTiles(ArrayList input_list_of_strings) {
    input_list_of_strings.add("SCHOOLWORK ");
    input_list_of_strings.add("BALCONY ");
    input_list_of_strings.add("INSIST ");
    input_list_of_strings.add("SALTPETER");
    input_list_of_strings.add("BOLTON ");
    input_list_of_strings.add("KITSCHY ");
    input_list_of_strings.add("CLIENTELE ");
//      System.out.print(getTiles(input_list_of_strings));

    ArrayList&lt;String&gt; subString = new ArrayList&lt;&gt;();
    subString.add("TON");
    subString.add("TPE");
    subString.add("SCH");
    subString.add("ENT");
    subString.add("ONY");
    subString.add("BOL");
    subString.add("LW");
    subString.add("CHY");
    subString.add("ORK");
    subString.add("LC");
    subString.add("CLI");
    subString.add("IST");
    subString.add("OO");
    subString.add("TS");
    subString.add("BA");
    subString.add("SAL");
    subString.add("ELE");
    subString.add("INS");
    subString.add("KI");
    subString.add("TER");
    for (int i = 0; i &lt;subString.size(); i++) {
        System.out.print("subString is : " + subString);
        System.out.print("int i is : "+ i );
    }

    return subString;       
}

public static void main(String[] args) {
    // TODO Auto-generated method stub

}

}
</code></pre>

<p>Thank you...</p>
