course update of 2023-11-30 09:50:31
This commit is contained in:
15
Prog/OOP.md
15
Prog/OOP.md
@ -1,3 +1,10 @@
|
|||||||
|
---
|
||||||
|
---
|
||||||
|
author: Louis Gallet
|
||||||
|
Date: 30/11/2023
|
||||||
|
---
|
||||||
|
---
|
||||||
|
|
||||||
# Object Oriented Programming
|
# Object Oriented Programming
|
||||||
|
|
||||||
<img src="https://i.imgur.com/qPsUYyd.jpg" alt="meme" style="zoom:50%;" />
|
<img src="https://i.imgur.com/qPsUYyd.jpg" alt="meme" style="zoom:50%;" />
|
||||||
@ -85,4 +92,12 @@ MyFirstClass c = new MyFirstClass(); //new object
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## OOP - Main principles
|
||||||
|
|
||||||
|
- Encapsulation
|
||||||
|
- Abstraction
|
||||||
|
- Inheritance (Héritage in french)
|
||||||
|
- Polymorphism
|
||||||
|
|
||||||
|
|
||||||
|
|
Reference in New Issue
Block a user