Seri ke-2 dari kelas Pemrograman Berorientasi Objek (OOP) dengan Python.
presentasi tersedia di https://bit.ly/oopinpy
0:00 Intro
4:54 Objectif dari sesi 2 ini
5:54 Atribut dari class/objek
11:17 Contoh kode atribut pada class Artikel dan Penulis
12:57 Atribut berjenis mutable dan immutable
16:17 Atribut spesial self
22:17 Mendapatkan daftar atribut dengan _dict_ dan __dir__()
25:27 Contoh kode mendapatkan atribut dengan _dict_ dan __dir__()
30:23 Atribut sebagai variable dengan lingkupnya
31:55 Catatan mengenai atribut dengan lingkup privat
33:02 Beda atribut (attribute) dengan properti (property)
37:17 Fungsi property (decorator @property)
41:11 Metode dari class/objek
43:00 Metode objek (object method)
46:30 Metode class (classmethod)
51:41 Contoh kode classmethod sebagai multi konstruktor
57:01 Metode statis (staticmethod)
1:01:51 Memanggil metode lain
1:04:09 Contoh kode menggabungkan semua metode
1:12:33 Metode bawaan dan metode spesial
On this page of the site you can watch the video online Pemrograman Berorientasi Objek (OOP) dengan Python: Atribut & Metode with a duration of hours minute second in good quality, which was uploaded by the user oon arfiandwi (OonID) 01 January 1970, share the link with friends and acquaintances, this video has already been watched 271 times on youtube and it was liked by 8 viewers. Enjoy your viewing!