Method invocation syntax in Java
<p>I am Java newbie. I have 2 questions.<br>
Question 1: When objDummy is attempted to be created via a constructor call,<br>
Why is there no semi-colon?<br>
How can there be an additional call to init()?  </p>

<p>Question 2: Why is there a semi-colon at the comment line "constructor ends"?<br>
Is it a part of Java syntax?  </p>

<pre><code>public abstract class A {
  private static final A createDummy() {
   // what is the meaning of the following syntax? Qn. 1
   if (objDummy == null) {
     objDummy = new A (null, null, null){
       final void init(String a, String b, Object[][] cArray) {
       }

       public final boolean isSend() {
         return false;
       }
     // Question 2: format
     }; //constructor ends
   }//if ends
   return objDummy;
  } // function createDummy ends
}//class ends
</code></pre>
