मराठी

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×