title: Class with static array class in C++
body: <p>I not sure why this the static array is not matching the declaration, I feel like I'm forgetting something to make this work and I'm racking my brain for what it might be and my searches don't bring up anything useful. </p>
  
  <pre><code>class ExampleClass 
  {
  public:
     ExampleClass(int x, int y)
     {
        a = x;
        b = y;
     }
  private:
     int a;
     int b;   
  }
  
  class A_Class
  {
  public :
     static ExampleClass arr [2];
  }
  ExampleClass A_Class:: arr = { ExampleClass(1,2), ExampleClass(3,4) };// Error : incompatible with declaration
  </code></pre>
  
  <p>Thanks in advance</p>
  
  <p>sorry for the typo arr is declared as a ExampleClass in the running code </p>