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
330
HT22 - DA106A - Ramverk
tibbelit
0
280
HT22 - DA106A - JavaScript
tibbelit
0
280
HT22 - DA106A - Responsiv webbutveckling
tibbelit
0
330
HT22 - DA106A - Introduktion till CSS
tibbelit
0
390
HT22 - DA106A - Formulär & tabeller
tibbelit
0
380
HT22 - DA106A - Introduktion till HTML
tibbelit
0
550
HT22 - DA106A - Kursintroduktion
tibbelit
0
370
VT22 - DA395A - Storage, geolocation & media
tibbelit
0
300
Other Decks in Education
See All in Education
Webリテラシー基礎
takenawa
0
5k
計算情報学研究室 (数理情報学第7研究室)紹介スライド (2025)
tomonatu8
0
510
Gamified Interventions for Composting Behavior: A Case Study Using the Gamiflow Framework in a Workplace Setting
ezefranca
1
120
新卒研修に仕掛ける 学びのサイクル / Implementing Learning Cycles in New Graduate Training
takashi_toyosaki
1
150
CHARMS-HP-Banner
weltraumreisende
0
170
Tangible, Embedded and Embodied Interaction - Lecture 7 - Next Generation User Interfaces (4018166FNR)
signer
PRO
0
1.7k
미국 교환학생 가서 무료 홈스테이 살면서 인턴 취업하기
maryang
0
110
生成AI
takenawa
0
5k
2025年度春学期 統計学 第10回 分布の推測とは ー 標本調査,度数分布と確率分布 (2025. 6. 12)
akiraasano
PRO
0
130
子どものためのプログラミング道場『CoderDojo』〜法人提携例〜 / Partnership with CoderDojo Japan
coderdojojapan
4
16k
Constructing a Custom TeX Ecosystem for Educational Institutions—Beyond Academic Typesetting
doratex
1
9.1k
ビジネスモデル理解
takenawa
0
5k
Featured
See All Featured
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
10
930
Building Adaptive Systems
keathley
43
2.6k
Faster Mobile Websites
deanohume
307
31k
Agile that works and the tools we love
rasmusluckow
329
21k
Fantastic passwords and where to find them - at NoRuKo
philnash
51
3.3k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
7
700
Why You Should Never Use an ORM
jnunemaker
PRO
57
9.4k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.7k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
31
1.2k
Producing Creativity
orderedlist
PRO
346
40k
Done Done
chrislema
184
16k
Documentation Writing (for coders)
carmenintech
72
4.9k
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