|
Why there are no global variables in Java?
Answer Description: Global variables are globally accessible and since Java does not support globally accessible variables there are no global variable in JAVA. - The Global Variables breaks the referential transparency
- Global variables creates collisions in namespace.
Posted By:de_23@...
View Count:
|
|