title: How can I check for equality within a row, amongst all indexes?
body: <p>I'm lost and don't know where to begin. I'm testing the following condition, L=W=H on Package1's method and I want to call it into the Class Runtime's main method. </p>
  
  <p>I created an array of objects already. But after that, I don't know how to utilize it or even if I have to. Again I'm completely lost!...thanks for your help. </p>
  
  <p>I feel as if Coding is a young man's world!, Damn you Marine Corps!</p>
  
  <hr>
  
  <pre><code>public class Package1
  {
  
      double length;
      double width;
      double height;
  
  Package1(double a,double b, double c)
  {
      length=a;
      width=b;
      height=c;
  }
  public void isCube()
  {
      if(length==width &amp;&amp; width==height)
          System.out.println("The box is a cube.");
      else
          System.out.println("Box is not a cube. ");
  
  }
  
  public class Runtime{
  public static void main(String[] args){
  Package1[] boxes = new Package1[rows];
  
      for(int j = 0; j &lt; boxes.length; j++)
      {
          boxes[j] = new Package1(arr[j][0], arr[j][1], arr[j][2]);
  
      }
  </code></pre>
  
  <p>}
  }</p>