39 lines
1.1 KiB
HTML
39 lines
1.1 KiB
HTML
<!doctype html>
|
|
<html lang="en">
|
|
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
<title>zfp106 UML Diagram for Lab2</title>
|
|
</head>
|
|
|
|
<body>
|
|
<h1 style="color: red; background: yellow">
|
|
Made in the dungeons with <u>great pain</u> in PlantUML (Lab3,
|
|
zfp106)
|
|
</h1>
|
|
<p>
|
|
Some notes on the decisions made here.
|
|
<table border=1>
|
|
<tr>
|
|
<th>Question</th>
|
|
<th>Answer</th>
|
|
</tr>
|
|
<tr>
|
|
<td>Why does the <code>MainActivity</code> class not show it's dependency relationship with <code>AppCompatActivity</code>?</td>
|
|
<td>Because <code>AppCompatActivity</code> is coming from an external library, and as such not implemented by me.</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Why do your concrete property classes (e.g. <code>ResidentialProperty</code>) not have <code>toString()</code> methods?</td>
|
|
<td>Because they inherit the <code>toString()</code> method from their parent class <code>Property</code>.</td>
|
|
</tr>
|
|
|
|
</table>
|
|
</p>
|
|
|
|
<p><u>The actual UML diagram below:<u></p>
|
|
<img src="./Layout.svg" alt="Uml Diagram" />
|
|
</body>
|
|
|
|
</html>
|