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
350
HT22 - DA106A - Ramverk
tibbelit
0
290
HT22 - DA106A - JavaScript
tibbelit
0
290
HT22 - DA106A - Responsiv webbutveckling
tibbelit
0
340
HT22 - DA106A - Introduktion till CSS
tibbelit
0
410
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
310
Other Decks in Education
See All in Education
Security, Privacy and Trust - Lecture 11 - Web Technologies (1019888BNR)
signer
PRO
0
3.2k
Chapitre_2_-_Partie_3.pdf
bernhardsvt
0
150
Node-REDで広がるプログラミング教育の可能性
ueponx
1
270
コマンドラインを見直そう(1995年からタイムリープ)
sapi_kawahara
0
660
Padlet opetuksessa
matleenalaakso
10
15k
自己紹介 / who-am-i
yasulab
PRO
6
6.3k
2025年の本当に大事なAI動向まとめ
frievea
0
170
令和エンジニアの学習法 〜 生成AIを使って挫折を回避する 〜
moriga_yuduru
0
240
React完全入門
mickey_kubo
1
110
TypeScript初心者向け完全ガイド
mickey_kubo
1
120
都市の形成要因と 「都市の余白」のあり方
sakamon
0
160
HTML5 and the Open Web Platform - Lecture 3 - Web Technologies (1019888BNR)
signer
PRO
2
3.2k
Featured
See All Featured
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
1
100
B2B Lead Gen: Tactics, Traps & Triumph
marketingsoph
0
55
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
450
How to audit for AI Accessibility on your Front & Back End
davetheseo
0
180
The Cost Of JavaScript in 2023
addyosmani
55
9.5k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
19k
Building Flexible Design Systems
yeseniaperezcruz
330
40k
Abbi's Birthday
coloredviolet
1
4.8k
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
83
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
1
110
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
1
740
Fashionably flexible responsive web design (full day workshop)
malarkey
408
66k
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