How to Implement Parent Class Method From Child Class Methods
<p>In the parent class we have an abstract method:</p>

<p><code>public abstract void parentMethod();</code></p>

<p>and in the children classes a method is defined as such: </p>

<pre><code>public void parentMethod()
 {
  System.out.println("this is child class 1")
 }
</code></pre>

<p>and </p>

<pre><code>public void parentMethod()
 {
 System.out.println("this is child class 2")
 }
</code></pre>

<p>respectively. </p>

<p>How would the implementation of the parent classes be completed? </p>