Q. Which access modifier is not strictly enforced in Python?

A
Public
B
Private
C
Protected
D
All are enforced
Solution:

Private (__) is a convention, not strictly enforced, using name mangling.

Entri Contact Image

Get Expert Advice for Free: Register for Your Free Consultation Now!