मराठी

Variables which are defined in a method are called ______ method.

Advertisements

प्रश्न

Variables which are defined in a method are called ______ method.

पर्याय

  • local

  • formal

  • actual

  • argument

MCQ
रिकाम्या जागा भरा
Advertisements

उत्तर

Variables which are defined in a method are called local method.

Explanation:

Variables declared inside a method are known as local variables. They are created when the method begins execution and are completely destroyed as soon as the method exits, meaning they cannot be accessed from anywhere else in the class.
shaalaa.com
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
पाठ 6: Encapsulation - Exercises [पृष्ठ १४८]

APPEARS IN

रूपा पंडित Computer Applications [English] Class 10 ICSE
पाठ 6 Encapsulation
Exercises | Q 1. (vii) | पृष्ठ १४८
Advertisements
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×