Advertisements
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 [पृष्ठ १४८]
