हिंदी

Local data ______ (can/cannot) be accessed outside the method.

Advertisements
Advertisements

प्रश्न

Local data ______ (can/cannot) be accessed outside the method.

रिक्त स्थान भरें
Advertisements

उत्तर

Local data cannot be accessed outside the method.

Explanation:

  • Local data (local variables) are created inside a method and exist only while the method is executing.
  • Therefore, local data cannot be accessed outside the method.
shaalaa.com
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
अध्याय 3: User-Defined Methods - Exercises [पृष्ठ ९१]

APPEARS IN

रुपा पंडित Computer Applications [English] Class 10 ICSE
अध्याय 3 User-Defined Methods
Exercises | Q 2. (i) | पृष्ठ ९१
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×