docs: update README.md

This commit is contained in:
2026-04-25 10:09:40 +03:30
parent 84de0af232
commit 9c98244de8
+16 -16
View File
@@ -20,16 +20,15 @@ The project consists of the following classes and interfaces:
### Class Diagram
```plaintext
+-------------------+
| Vehicle |
| (Abstract Class) |
+-------------------+ -----------------+-----------------+--------+
^ |
| extends |
| +-------------------+ |
| | Serviceable | <-------+
| | (Interface) | implements
| +-------------------+
+-------------------+ +-------------------+
| Vehicle | | Serviceable |
| (Abstract Class) | | (Interface) |
+-------------------+ +-------------------+
^ ^
| extends | implements
| |
+-----------------------------------+
|
+-------------------+
| Car |
| (Abstract Class) |
@@ -42,12 +41,13 @@ The project consists of the following classes and interfaces:
| GasCar | | ElectricCar |
| (Class) | | (Class) |
+-------------------+ +-------------------+
^
| extends
+-------------------+
| SportsCar |
| (Class) |
+-------------------+
^ ^ ^
| extends | implements | implements
| | |
+-------------------+ +-------------------+ +-------------------+
| SportsCar | | Refuelable | | Chargeable |
| (Class) | | (Interface) | | (Interface) |
+-------------------+ +-------------------+ +-------------------+
```
## What should you do?