title: How to get an array from another class
body: <p>I can't seem to find an answer for this, I have a lot of different arrays, and I want to stuff all of them into one class, to make my main one neater.</p>
  
  <pre><code>Testy obj = new Testy();
  </code></pre>
  
  <p>But i have no clue on how to get an array from here. Sorry if this is a bad question, this is my first time posting on the site. I'm just trying to get an array called testArray from the class called Testy.</p>
  
  <p>Code inside Testy:</p>
  
  <pre><code>public class Testy {
  public static void ArrayTesting(){
      int testArray[]={56,1,4,175};
  }}
  </code></pre>