title: How can I use an array within a method that was called in as a parameter for a different constructor initializer?? (Java)
body: <p>How can I use an array within a method that was called in as a parameter for a different constructor initializer in the same class?</p>
  
  <p>For example:</p>
  
  <p>private static Initialize(int[] array)</p>
  
  <p>private static void Display() </p>
  
  <p>I want to take the array called in above in the Initialize method and use it in the Display method. I kept getting null reference pointer errors when I first tried it. Thank you for any help in advance!!</p>