Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
HT21 - DA361A - OOP & arv
Search
Anton Tibblin
September 20, 2021
Education
350
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
HT21 - DA361A - OOP & arv
Anton Tibblin
September 20, 2021
More Decks by Anton Tibblin
See All by Anton Tibblin
HT22 - DA106A - Användbarhet (1)
tibbelit
0
380
HT22 - DA106A - Ramverk
tibbelit
0
300
HT22 - DA106A - JavaScript
tibbelit
0
310
HT22 - DA106A - Responsiv webbutveckling
tibbelit
0
360
HT22 - DA106A - Introduktion till CSS
tibbelit
0
430
HT22 - DA106A - Formulär & tabeller
tibbelit
0
410
HT22 - DA106A - Introduktion till HTML
tibbelit
0
590
HT22 - DA106A - Kursintroduktion
tibbelit
0
410
VT22 - DA395A - Storage, geolocation & media
tibbelit
0
330
Other Decks in Education
See All in Education
エビデンスベースト英語教育入門:エビデンスは科学的知見(だけ)ではない,制度だ!
terasawat
0
220
学生のうちに考えておきたい信頼の話
suisan
1
810
Comentario del plano urbano de Madrid hasta 1860 (1ª parte )
juanmartin2026
1
100k
【新規入学者様】ainiチャット操作ガイド
ainischool
0
170
Antigravityを使ってGeminiAPI(NanobananaPro)と連携して挿絵メーカーを作った
yoshimura_datam
0
250
第2部-高校生とAI活用/high-school2026-2
okana2ki
0
210
CLASSIFICATION OF CRUDE DRUGS
pawan_pharm
0
200
響け!ユーフォニアムと考える「決め方」/Thinking About Decision-Making with Sound! Euphonium
3l4l5
1
190
Réunion des directrices et directeurs des écoles de la circonscription de Jonzac - 31 août 2026
fmarot
0
150
形骸化しない社内勉強会の取り組み - オーナーシップの作り方 / In-house study session
soudai
PRO
1
370
AIの力を100%引き出すために
frievea
0
580
aini school小中等部説明会資料
ainischool
0
140
Featured
See All Featured
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
300
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
610
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
550
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
28
3.7k
The Illustrated Children's Guide to Kubernetes
chrisshort
51
53k
Skip the Path - Find Your Career Trail
mkilby
1
240
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
1
390
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1.3k
New Earth Scene 8
popppiees
4
2.6k
Paper Plane (Part 1)
katiecoart
PRO
2
11k
We Are The Robots
honzajavorek
0
380
How to Ace a Technical Interview
jacobian
280
24k
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