Advertisements
Advertisements
प्रश्न
State True or False.
A local variable can exist outside its method as well.
सत्य या असत्य
Advertisements
उत्तर
This statement is false.
Explanation:
A local variable cannot exist outside its method. It is created when the method starts execution and is destroyed when the method ends. It can be accessed only within the method where it is declared.
shaalaa.com
क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
