how to get output as "select * from employee" ,"select * from salaries","select * from student" and "select * from attendance" : <p>package array;</p>

<p>public class A {</p>

<pre><code>public static void main(String[] args) {
    String[] arr = { "employee","salaries","student","attendance"};
    for (String x : arr)
    {
        System.out.println(x);
    }


}
</code></pre>

<p>}
//output:
employee
salaries
student
attendance</p>
