docs: update README.md
This commit is contained in:
@@ -20,34 +20,34 @@ The project consists of the following classes and interfaces:
|
||||
|
||||
### Class Diagram
|
||||
```plaintext
|
||||
+-------------------+
|
||||
| Vehicle |
|
||||
| (Abstract Class) |
|
||||
+-------------------+ -----------------+-----------------+--------+
|
||||
^ |
|
||||
| extends |
|
||||
| +-------------------+ |
|
||||
| | Serviceable | <-------+
|
||||
| | (Interface) | implements
|
||||
| +-------------------+
|
||||
+-------------------+
|
||||
| Car |
|
||||
| (Abstract Class) |
|
||||
+-------------------+
|
||||
^
|
||||
| extends
|
||||
+-----------------+-----------------+
|
||||
| |
|
||||
+-------------------+ +-------------------+
|
||||
| Vehicle | | Serviceable |
|
||||
| (Abstract Class) | | (Interface) |
|
||||
+-------------------+ +-------------------+
|
||||
^ ^
|
||||
| extends | implements
|
||||
| |
|
||||
+-----------------------------------+
|
||||
|
|
||||
+-------------------+
|
||||
| Car |
|
||||
| (Abstract Class) |
|
||||
+-------------------+
|
||||
^
|
||||
| extends
|
||||
+-----------------+-----------------+
|
||||
| |
|
||||
+-------------------+ +-------------------+
|
||||
| GasCar | | ElectricCar |
|
||||
| (Class) | | (Class) |
|
||||
+-------------------+ +-------------------+
|
||||
^
|
||||
| extends
|
||||
+-------------------+
|
||||
| SportsCar |
|
||||
| (Class) |
|
||||
+-------------------+
|
||||
^ ^ ^
|
||||
| extends | implements | implements
|
||||
| | |
|
||||
+-------------------+ +-------------------+ +-------------------+
|
||||
| SportsCar | | Refuelable | | Chargeable |
|
||||
| (Class) | | (Interface) | | (Interface) |
|
||||
+-------------------+ +-------------------+ +-------------------+
|
||||
```
|
||||
|
||||
## What should you do?
|
||||
|
||||
Reference in New Issue
Block a user