diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2024-05-25 14:31:55 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2024-05-25 14:31:55 +0200 |
| commit | d162832709cd7d551443ef5236cfcfb685742df4 (patch) | |
| tree | a5e2377f247832667ab6935b874261cadd05d80c /Info/23_24 | |
| parent | 00864d567424b0d4513cea80894fa6c390a4c254 (diff) | |
| download | unterricht-d162832709cd7d551443ef5236cfcfb685742df4.tar.gz unterricht-d162832709cd7d551443ef5236cfcfb685742df4.zip | |
make solution more precise
Diffstat (limited to 'Info/23_24')
| -rw-r--r-- | Info/23_24/05/16/10B/test/Aufgaben/Felder_Besucherstatistik.tex | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Info/23_24/05/16/10B/test/Aufgaben/Felder_Besucherstatistik.tex b/Info/23_24/05/16/10B/test/Aufgaben/Felder_Besucherstatistik.tex index 44ae7e55..796625f7 100644 --- a/Info/23_24/05/16/10B/test/Aufgaben/Felder_Besucherstatistik.tex +++ b/Info/23_24/05/16/10B/test/Aufgaben/Felder_Besucherstatistik.tex @@ -29,15 +29,15 @@ interface Statistik { \begin{enumerate}[a)] \item \begin{minted}[escapeinside=$$]{java} public class Statistik { - String wochentag; // 1BE - int[] besucher; // 1.5BE - public Statistik(String neuerWochentag) { // 1BE - besucher = new int[12]; // 2BE - wochentag = neuerWochentag; // 0.5BE + String$\Halfpoint$ wochentag;$\Halfpoint$ + int$\Halfpoint$[]$\Halfpoint$ besucher;$\Halfpoint$ + public Statistik$\Halfpoint$(String neuerWochentag$\Halfpoint$) { + besucher$\Halfpoint$ = new$\Halfpoint$ int[12$\Halfpoint$]$\Halfpoint$; + wochentag = neuerWochentag;$\Halfpoint$ } } \end{minted} -\BE{6} +% \BE{6} \item \begin{itemize} \item Ein interface ist ein \textit{Vertrag} über die, bzw. eine Vorgabe der zu implementierenden Methoden\Point \item \mintinline{java}{implements Statistik} ergänzen\Point |
