mirror of
https://github.com/BreizhHardware/cours-ISEN-MD.git
synced 2026-01-18 16:47:24 +01:00
Obisidian vault auto-backup: 30-09-2025 08:59:10 on . 2 files edited
This commit is contained in:
28
.obsidian/workspace.json
vendored
28
.obsidian/workspace.json
vendored
@@ -11,14 +11,24 @@
|
||||
"id": "14045e30aacf0836",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "split-diff-view",
|
||||
"type": "markdown",
|
||||
"state": {
|
||||
"aFile": "ISEN/IA/CIPA4/TP/TP2/tp2_IA.ipynb",
|
||||
"bFile": "ISEN/IA/CIPA4/TP/TP2/tp2_IA.ipynb",
|
||||
"aRef": ""
|
||||
"file": "ISEN/JAVA/CIPA4/TP/TP2/TP2.md",
|
||||
"mode": "source",
|
||||
"source": false,
|
||||
"backlinks": true,
|
||||
"backlinkOpts": {
|
||||
"collapseAll": false,
|
||||
"extraContext": false,
|
||||
"sortOrder": "alphabetical",
|
||||
"showSearch": false,
|
||||
"searchQuery": "",
|
||||
"backlinkCollapsed": false,
|
||||
"unlinkedCollapsed": true
|
||||
}
|
||||
},
|
||||
"icon": "diff",
|
||||
"title": "Diff: tp2_IA.ipynb"
|
||||
"icon": "lucide-file",
|
||||
"title": "TP2"
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -244,6 +254,9 @@
|
||||
},
|
||||
"active": "14045e30aacf0836",
|
||||
"lastOpenFiles": [
|
||||
"ISEN/JAVA/CIPA4/TP/TP2/TP2.md",
|
||||
"ISEN/JAVA/CIPA4/TP/TP2",
|
||||
"ISEN/JAVA/CIPA4/TP",
|
||||
"ISEN/IA/CIPA4/Cours/CM1_KOA-IA-Generalites-CIPA4.pdf",
|
||||
"ISEN/IA/CIPA4/TP/TP2/tp2_IA.ipynb",
|
||||
"ISEN/IA/CIPA4/TP/TP2/tp2_IA.ipnb",
|
||||
@@ -254,12 +267,9 @@
|
||||
"ISEN/BDD/CIPA4/TP1/Tp1.pdf",
|
||||
"ISEN/BDD/CIPA4/TP1/tp1.sql~",
|
||||
"ISEN/BDD/CIPA4/TP1/tp1.sql",
|
||||
"ISEN/BDD/CIR2/TP1/Tp1.pdf",
|
||||
"ISEN/Réseau/CIPA4/TP/TP M02 Conversion.md",
|
||||
"ISEN/Réseau/CIPA4/Réseau Cours 1.md",
|
||||
"ISEN/Réseau/A1/Cisco Cours 2.md",
|
||||
"ISEN/Réseau/CIPA4/TP/M01-01-TP-Packet-Tracer_Modele_OSI.pka~",
|
||||
"ISEN/Réseau/CIPA4/TP/M01-01-TP-Packet-Tracer_Modele_OSI.pka",
|
||||
"ISEN/Réseau/A2/CCNA Cours 1.md",
|
||||
"ISEN/Réseau/A1/Cisco Cours 1.md",
|
||||
"ISEN/Réseau/A2/CCNA Cours 2.md",
|
||||
|
||||
12
ISEN/JAVA/CIPA4/TP/TP2/TP2.md
Normal file
12
ISEN/JAVA/CIPA4/TP/TP2/TP2.md
Normal file
@@ -0,0 +1,12 @@
|
||||
#Java #CIPA4
|
||||
|
||||
# 6 - Concept de cercle`
|
||||
## Test de la méthode print()
|
||||
On va obtenir un affichage via la méthode print de Shape par héritage.
|
||||
|
||||
## Surcharge de la méthode d’affichage
|
||||
On peut rentre l'attribut center accessible à la classe Circle en le définissant protected au lieu de private.
|
||||
|
||||
## Transtypage ascendant (upcast)
|
||||
De par le principe d'upcast on va obtenir la méthode print de Circle et non pas de Shape.
|
||||
|
||||
Reference in New Issue
Block a user