MCQ Answer

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

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

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

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.



Online Exam Quiz for One day Exam Online Typing Test CCC Online Test 2026 Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level Online Test in Hindi Best Website and Software Company in Allahabad