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.



CCC Online Test 2021 CCC Practice Test Hindi Python Programming Tutorials 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 Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Sarkari Naukari Notification Best Website and Software Company in Allahabad Sarkari Exam Quiz