NIELIT O Level Exam

Why does the name of local variables start with an underscore denote?

Why does the name of local variables start with an underscore denote?

लोकल वेरिएबल का नाम अंडरस्कोर डिनोट से क्यों शुरू होता है?

A. To identify the variable. वेरिएबल की पहचान करने के लिए

B. To identify the constant. कॉन्स्टेन्ट की पहचान करने के लिए

C. It indicates a public variable of a class. यह एक क्लॉस के पब्लिक वेरिएबल को इंगित करता है।

D. Variables cannot be accessed from outside the class. वेरिएबल्स को क्लॉस के बाहर से एक्सेस नहीं किया जा सकता है




Correct Answer is :

D. Variables cannot be accessed from outside the class.



CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online Exam Quiz O Level NIELIT Study material and Quiz Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Best Website and Software Company in Allahabad Website development Company in Allahabad