How Underscore Changes the Accessibility of Data in Python - Access Modifiers - oop

preview_player
Показать описание
#oop #objectorientedprogramming #encapsulation #python #pythonprogramming #accessmodifier

In this video, we will talk about how underscore changes the accessibility of the data. "Access modifier" is the term used to address this.

There are 3 types of access modifiers:
- Public Access Modifier
- Protected Access Modifier
- Private Access Modifier

More 2 Minutes Python Tutorial:

@2MinutesPy
Рекомендации по теме
Комментарии
Автор

These topics are really helpful to understand the concepts clearly. You should post the videos more often.

gauraomate
Автор

Thank you. Like always, useful yet concise

Hoxle-
Автор

Your videos are simply awesome no drama, no cringe... thank you ❤

akshaysutar
Автор

Amazing. Love watching your python videos

tupaiadhikari
Автор

"oh wow...", really got me😅

sachinpal
Автор

The double underscore is path of the name mangling mechanics, not of a encapsulation mechanic.

MorpheusGamerGermany
Автор

I don't think it really hidden. I mean, I still found those attributes by dir() or .__dict__().
It just rename those (3.9).
Is there any way to really hide them?

AnkDo-pm
Автор

In what instance would one use _protected over public or __private? What is it protected from?

jobendiah
Автор

Can you talk about "@" deal in python class? Or in function? I still dont understand ut to this day

rexsybimatrimawahyu