fixed image links
All checks were successful
Build and Deploy MkDocs / deploy (push) Successful in 13s
All checks were successful
Build and Deploy MkDocs / deploy (push) Successful in 13s
This commit is contained in:
@@ -91,7 +91,7 @@ public class Compound {
|
||||
}
|
||||
```
|
||||
|
||||

|
||||

|
||||
|
||||
*Composition* - The object only exists if the parent object exists, if the parent object is deleted then so is the child object.
|
||||
The zoo object owns the compound object. If the zoo object is deleted then the compound object is also deleted.
|
||||
@@ -102,7 +102,7 @@ public class Zoo {
|
||||
}
|
||||
```
|
||||
|
||||

|
||||

|
||||
|
||||
**Inheritance**
|
||||
A way of forming new classes based on existing classes. Has a "is-a" relationship.
|
||||
@@ -126,7 +126,7 @@ public class Child extends Parent {
|
||||
|
||||
The super keyword called the parent class' constructor.
|
||||
|
||||

|
||||

|
||||
|
||||
**What is the difference between an abstract class and an interface**
|
||||
- Java abstract class can have instance methods that implement a default behaviour. May contain non-final variables.
|
||||
|
||||
@@ -13,7 +13,7 @@ Latest version: **2.6**
|
||||
- Helps to manage the complexity
|
||||
- Enables reuse of design
|
||||
|
||||
<img src="assets/4.png" alt="img" style="zoom:80%;" />
|
||||
<img src="/lectures/dms/assets/4.png" alt="img" style="zoom:80%;" />
|
||||
|
||||
|
||||
## Object Orientated Analysis
|
||||
@@ -49,7 +49,7 @@ Latest version: **2.6**
|
||||
|
||||
**Use case diagram of a fleet logistics management company**
|
||||
|
||||

|
||||

|
||||
|
||||
|
||||
**Base Path** - The optimistic path (best case scenario)
|
||||
|
||||
Reference in New Issue
Block a user