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/10 | |
| parent | 00864d567424b0d4513cea80894fa6c390a4c254 (diff) | |
| download | unterricht-d162832709cd7d551443ef5236cfcfb685742df4.tar.gz unterricht-d162832709cd7d551443ef5236cfcfb685742df4.zip | |
make solution more precise
Diffstat (limited to 'Info/10')
| -rw-r--r-- | Info/10/2/Aufgaben/Polymorphismus_Beschaeftigte.tex | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/Info/10/2/Aufgaben/Polymorphismus_Beschaeftigte.tex b/Info/10/2/Aufgaben/Polymorphismus_Beschaeftigte.tex index 14b119c0..1ed13014 100644 --- a/Info/10/2/Aufgaben/Polymorphismus_Beschaeftigte.tex +++ b/Info/10/2/Aufgaben/Polymorphismus_Beschaeftigte.tex @@ -188,11 +188,10 @@ System.out.println("Gesamte Gehaltskosten: " + gehaltsKosten + " Euro"); \begin{Lsg} a) -\begin{itemize} - \item Angestellter Klasse mit gehalt, jahresbonus, berechneGehalt \BE{1} - \item Korrekte Vererbung \BE{1} - \item korrektes UML \BE{1} -\end{itemize} +% \begin{itemize} + % \item Korrekte Vererbung \BE{1} + % \item korrektes UML \BE{1} +% \end{itemize} \iftoggle{erwartungshorizont}{Halbes BE Abzug pro Fehler.}{} \begin{tikzpicture}[umlcd style inherit line/.style={color=\umldrawcolor, {Triangle[open, angle'=60, scale=3]}-}] @@ -225,6 +224,12 @@ a) \attribute{double jahresbonus} \operation{double berechneGehalt()} \end{class} +\node[above right=of Angestellter, xshift=-6.5cm, yshift=-1cm] {\Halfpoint}; %Vererbung +\node[above right=of Angestellter, xshift=-1cm, yshift=-1cm] {\Halfpoint}; %UML +\node[above right=of Angestellter, xshift=-1.5cm, yshift=-1.8cm] {\Halfpoint}; +\node[above right=of Angestellter, xshift=-2cm, yshift=-2.45cm] {\Halfpoint}; +\node[above right=of Angestellter, xshift=-2cm, yshift=-3cm] {\Halfpoint}; +\node[above right=of Angestellter, xshift=-1cm, yshift=-3.75cm] {\Halfpoint}; \association{Unternehmen}{}{1}{Mitarbeiter}{n}{} \end{tikzpicture} |
