diff --git a/Doc/Sd1/Inheritance/inheritance.xml b/Doc/Sd1/Inheritance/inheritance.xml index d7f7e12ed2f009c622d273ae090719e8bb6ce3ce..82f5a042b7fa85fd34ffc3c493ca30ee92f7b36d 100644 --- a/Doc/Sd1/Inheritance/inheritance.xml +++ b/Doc/Sd1/Inheritance/inheritance.xml @@ -599,7 +599,8 @@ if (day.equals(Day.FRIDAY)) ... // Oops: NPE approaching ...</programlisting> public class Run { public static void main(String[] args) { - final Shape shape = new Shape(<emphasis role="red">2.0</emphasis>, <emphasis + final Shape shape = + new Shape(<emphasis role="red">2.0</emphasis>, <emphasis role="red">3.0</emphasis>); // Center coordinates System.out.println(shape); </programlisting></td>