YUNOVA · Python programming · Module 12: Object-Oriented Python

Python me encapsulation aur private variable

Notes for offline study · 30 November 2026

Python me encapsulation aur private variable

Key points

  • Encapsulation का मतलब है data को class के अंदर सुरक्षित रखना।
  • नाम से पहले दो underscore लगाने पर वह बाहर से सीधे नहीं मिलता।
  • बदलने के लिए class के अपने function बनाए जाते हैं।

Free on YUNOVA · yunova.in · Sign in to add your own lesson notes to this sheet.

Notes: Python me encapsulation aur private variable | YUNOVA