title: Creating and populating an array in the simplest way
body: <p>I am developing application..</p>
  
  <pre><code>    class Wheel {
      private int size;
  
      Wheel(int s) {
          size = s;
      }
  
      void spin() {
          System.out.print(size + " inch wheel spinning, ");
      }
  
  }
  
  public class Bicycle {
      public static void main(String[] args) {
          Wheel[] wa = { new Wheel(15), new Wheel(17) };
          for (Wheel w : wa)
              w.spin();
      }
  }
  </code></pre>
  
  <p>But Please advise that how could we express <code>Wheel[] wa = { new Wheel(15), new Wheel(17) };</code> in more simpler terms.</p>