Skip to content

Commit 41fd342

Browse files
Update Lecture2.md
1 parent dd870ea commit 41fd342

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

tutorials/Lecture2.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,16 @@
1010
What is a UML Class Diagram?
1111
A UML (Unified Modelling Language) class diagram visually describes the structure of a system by showing its classes, their attributes (variables), methods (functions), and relationships (like inheritance).
1212

13-
```text
14-
---------------------
15-
| Student | <-- Class Name
16-
---------------------
17-
| -name: String | <-- Attributes
18-
| -age: int |
19-
---------------------
20-
| +getName(): String| <-- Methods
21-
| +setAge(int): void|
22-
---------------------
13+
```txt
14+
----------------------
15+
| Student | <-- Class Name
16+
----------------------
17+
| -name: String | <-- Attributes
18+
| -age: int |
19+
----------------------
20+
| +getName(): String | <-- Methods
21+
| +setAge(int): void |
22+
----------------------
2323
```
2424

2525
Mermaid Markdown UML Class Diagram Example

0 commit comments

Comments
 (0)