Static variable will be visible in
a.function in which they are defined
b.module in which they are defined
c.all the program
d.none
Answers
Answered by
0
function in which they are defined
Answered by
0
If you define any static variable inside method then it's only visible in method.
if you define static variable in class then it's will be visible only static method of the class.
if you define static variable in class then it's will be visible only static method of the class.
Similar questions