Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
HT21 - DA361A - OOP & arv
Search
Anton Tibblin
September 20, 2021
Education
0
340
HT21 - DA361A - OOP & arv
Anton Tibblin
September 20, 2021
Tweet
Share
More Decks by Anton Tibblin
See All by Anton Tibblin
HT22 - DA106A - Användbarhet (1)
tibbelit
0
340
HT22 - DA106A - Ramverk
tibbelit
0
280
HT22 - DA106A - JavaScript
tibbelit
0
290
HT22 - DA106A - Responsiv webbutveckling
tibbelit
0
340
HT22 - DA106A - Introduktion till CSS
tibbelit
0
400
HT22 - DA106A - Formulär & tabeller
tibbelit
0
390
HT22 - DA106A - Introduktion till HTML
tibbelit
0
560
HT22 - DA106A - Kursintroduktion
tibbelit
0
380
VT22 - DA395A - Storage, geolocation & media
tibbelit
0
300
Other Decks in Education
See All in Education
Design Guidelines and Models - Lecture 5 - Human-Computer Interaction (1023841ANR)
signer
PRO
0
1.1k
Introduction - Lecture 1 - Human-Computer Interaction (1023841ANR)
signer
PRO
0
2.6k
Node-REDで広がるプログラミング教育の可能性
ueponx
0
160
Library Prefects 2025-2026
cbtlibrary
0
120
1021
cbtlibrary
0
340
Ch1_-_Partie_1.pdf
bernhardsvt
0
430
DIP_1_Introduction
hachama
0
270
Software
irocho
0
570
Réaliser un diagnostic externe
martine
0
270
子どもが自立した学習者となるデジタルの活用について
naokikato
PRO
0
120
万博マニアックマップを支えるオープンデータとその裏側
barsaka2
0
940
株式会社アイエスエイ 会社概要
recruit_isa
0
110
Featured
See All Featured
Building Adaptive Systems
keathley
44
2.8k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
667
130k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.6k
GraphQLとの向き合い方2022年版
quramy
49
14k
Facilitating Awesome Meetings
lara
57
6.6k
Being A Developer After 40
akosma
91
590k
Designing for Performance
lara
610
69k
Build The Right Thing And Hit Your Dates
maggiecrowley
38
2.9k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
658
61k
Agile that works and the tools we love
rasmusluckow
331
21k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4k
Gamification - CAS2011
davidbonilla
81
5.5k
Transcript
OOP MED Del 3
Dagens föreläsning Dagens agenda • Repetition: Klasser och objekt •
Arv i OOP • I teorin • I UML • I Python
None
REPETITION - OOP Det vi gjort hittills
Klass Människa Instans
None
Namn på klassen Klassens attribut Klassens metoder
Klassdiagram Python-kod
”Vanlig” Python-kod Type hinting
None
RELATION MELLAN OBJEKT
None
En filmsamling
Klassdiagram över filmsamling
None
En butik
Klassdiagram över en butik https://mau.instructure.com/courses/9354/pages/exempellosning-oop-i-python-samband-mellan-klasser
None
ARV
En klass ärver attribut/metoder från en annan klass
Barn ärver från förälder
None
Hur ser detta ut i Python?
Exempel
Er tur! Hitta 3st exempel på klasser som använder arv,
inkl. vilka metoder/attribut som ärvs.
Arv i praktiken
None
None
None