diff --git a/Doc/Sd1/Appendix/Exam/2024/Winter/exam.xml b/Doc/Sd1/Appendix/Exam/2024/Winter/exam.xml index 984dc23a886896827a5540dde2921cedaf3e9a1e..7b60b62e81346b686c75a29922a076fece90a769 100644 --- a/Doc/Sd1/Appendix/Exam/2024/Winter/exam.xml +++ b/Doc/Sd1/Appendix/Exam/2024/Winter/exam.xml @@ -73,11 +73,11 @@ <para>Apart from requiring the ugly <code language="java">return null</code> statement this approach is also ineffective due to possibly looping over all 12 zodiacs before finding the desired - match. This being cumbersome a better approach creates a - two-dimensional array <code>private static final Zodiac[][] - zodiacByMonthByDay</code> of zodiacs beforehand using - <code>month.ordinal()</code> as first and <code>day</code> as - second dimension index values:</para> + match. This being cumbersome we create a two-dimensional array + <code>private static final Zodiac[][] zodiacByMonthByDay</code> + of zodiacs beforehand using <code>month.ordinal()</code> as + first and <code>day</code> as second dimension index + values:</para> <screen> 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 JAN: 0 Cap Cap Cap Cap Cap Cap Cap Cap Cap Cap Cap Cap Cap Cap Cap Cap Cap Cap Cap Aqu Aqu Aqu Aqu Aqu Aqu Aqu Aqu Aqu Aqu Aqu Aqu @@ -116,7 +116,7 @@ static { <para>static blocks get processed even before <code>main(...)</code> is being started. This guarantees our - array being initialized before any access happens. Our + array being initialized before any access happens. Our improved <methodname>getZodiac(...)</methodname> implementation no longer requires any loop or other quirks:</para>