From d162832709cd7d551443ef5236cfcfb685742df4 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Sat, 25 May 2024 14:31:55 +0200 Subject: make solution more precise --- Info/10/2/Aufgaben/Polymorphismus_Beschaeftigte.tex | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'Info/10') 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} -- cgit v1.2.3