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.



Latest Current Affairs 2025 Online Exam Quiz for One day Exam Online Typing Test CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online MBA 2 years Online MCA Online BCA Best Website and Software Company in Allahabad