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
Transcript
29 slides
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
More Decks by Anton Tibblin
See All by Anton Tibblin
HT22 - DA106A - Användbarhet (1)
tibbelit
0
390
HT22 - DA106A - Ramverk
tibbelit
0
300
HT22 - DA106A - JavaScript
tibbelit
0
320
HT22 - DA106A - Responsiv webbutveckling
tibbelit
0
360
HT22 - DA106A - Introduktion till CSS
tibbelit
0
440
HT22 - DA106A - Formulär & tabeller
tibbelit
0
420
HT22 - DA106A - Introduktion till HTML
tibbelit
0
600
HT22 - DA106A - Kursintroduktion
tibbelit
0
410
VT22 - DA395A - Storage, geolocation & media
tibbelit
0
330
Other Decks in Education
See All in Education
Sekolah Sabat - Triwulan 4 2026 - Pelajaran 6
hiola
0
9.3k
Web Application Frameworks - Lecture 3 - Web Technologies (1019888BNR)
signer
PRO
0
3.6k
Session 3 - Diplomasi
adeputra13
0
520
Web 2.0 Patterns and Technologies - Lecture 8 - Web Technologies (1019888BNR)
signer
PRO
0
3.5k
[2026後期火5] 論理学(京都大学文学部 後期 第2回)「量化子の導入」
yatabe
0
260
CSS3 and Responsive Web Design - Lecture 5 - Web Technologies (1019888BNR)
signer
PRO
1
3.5k
Digijulkaisut
matleenalaakso
1
10k
Komunikasi Massa: 11 Teori Kunci Komunikasi Massa
adeputra13
0
210
La Hidrografía en España. Tema 3
juanmartin2026
0
28k
Before You Scale: Understand the Theory Behind the Simulation
pfn
PRO
1
210
The Dirty Dozen: 12 gala mistakes you don’t know you’re making
auctria
PRO
0
280
Liburd and Stoll Farrell "Copyright Essentials From A to AI: A 2026 NISO Training Series, Session Four: Copyright in Pop Culture and Digital Media"
baltimoreniso
0
190
Featured
See All Featured
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.5k
The Illustrated Children's Guide to Kubernetes
chrisshort
51
53k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
6.2k
How to make the Groovebox
asonas
2
2.6k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
1.1k
Claude Code どこまでも/ Claude Code Everywhere
nwiizo
68
60k
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.8k
The Cult of Friendly URLs
andyhume
79
7.1k
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
570
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
490
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
2
1.9k