From 958aeef38fcb7a1617430daf7104e2402adc84ec Mon Sep 17 00:00:00 2001
From: Price Hiller
+ Some notes on the decisions made here.
+
+ Made with infinite, undying, hatred in PlantUML (Lab2,
+ zfp106)
+
+
+
+
+
+ Question
+ Answer
+
+
+ Why is
+ Starship
associated to CrewMember
via
+ aggregation?Because a
+ Starship
has 0 or more crew members and crew
+ members aren't dependent on a Starship
to exist. It is possible for a
+ crew member to not be assigned to any
+ Starship
.
+
+
+
+ Why is
+ Fleet
associated to Starship
via aggregation?
+
+ Same reason as the previous. It is possible for a fleet to exist in name
+ only without any Starships contained within at all. A fleet is quite
+ literally an aggregation of any n number of ships in the first
+ place anyhow.
+
+
+
+ Why does
+ Lab2
with its main
method have a dependency
+ relationship with Fleet
?Because a near identical example of this relationship was in the slides.
+ We will
+ primarily use it for classes referenced in
main
.
+
+
+ Why don't you show associations/other connections to Java standard library classes like
+
+ ArrayList
?
+ Because we can keep going down that rabbit hole until infinity (or by my count in my IDE ~5 - 6 levels of
+ indirection from any given Java standard lib class to the bottom of the chain). I'm not interested in showing
+ the full diagram all the way down until we hit the base
+ Object
class.
Your answers are wrong and you should feel bad.
Them's fighting words, and I have a
+ whole hill here to defend and die upon, sword gleaming in the midnight sun.
The actual UML diagram below:
+ + + + diff --git a/Summer-2024/CS-3443/Labs/Lab2/assets/run-recording.webm b/Summer-2024/CS-3443/Labs/Lab2/assets/run-recording.webm index 2fcd6d9d2f83e95ae2beee9d4c3037aea94db833..4bf3ab2a30c4c4c4c509de529b206b8deb525c94 100644 GIT binary patch literal 5772261 zcmeFa1yq%5*Dk#17Lb-kkP@W3L%Km)N=XH26p#*SX{13yx?8#gq+1ZAJEdbCYAxTr z@!S7?&w0=I&-lL0*bdiv?&qFy&1+us-p@j~CpwjyDCF%1A#`x@XU7d%Xx9y1$lcTa zx&BKbA2&!LFE>bBC08Q|z{QsuMk%^XtWC8{wZBrfCziw~L!}(I26GtQqb#>{*guZJ&2L!4}Gd)Z HrL1R#?aH-bYPZfS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