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 ### Class Diagram
```plaintext ```plaintext
+-------------------+ +-------------------+ +-------------------+
| Vehicle | | Vehicle | | Serviceable |
| (Abstract Class) | | (Abstract Class) | | (Interface) |
+-------------------+ -----------------+-----------------+--------+ +-------------------+ +-------------------+
^ | ^ ^
| extends | | extends | implements
| +-------------------+ | | |
| | Serviceable | <-------+ +-----------------------------------+
| | (Interface) | implements |
| +-------------------+
+-------------------+ +-------------------+
| Car | | Car |
| (Abstract Class) | | (Abstract Class) |
@@ -42,12 +41,13 @@ The project consists of the following classes and interfaces:
| GasCar | | ElectricCar | | GasCar | | ElectricCar |
| (Class) | | (Class) | | (Class) | | (Class) |
+-------------------+ +-------------------+ +-------------------+ +-------------------+
^ ^ ^ ^
| extends | extends | implements | implements
+-------------------+ | | |
| SportsCar | +-------------------+ +-------------------+ +-------------------+
| (Class) | | SportsCar | | Refuelable | | Chargeable |
+-------------------+ | (Class) | | (Interface) | | (Interface) |
+-------------------+ +-------------------+ +-------------------+
``` ```
## What should you do? ## What should you do?