Questions 1 - 1 of 1
Close
Flag this interview question as inappropriate Inappropriate
See Answer

Global variables are globally accessible. Java does not support globally accessible variables due to following reasons:
* The global variables breaks the referential transparency
* Global variables creates collisions in namespace.

As Java is OOP language, it focuses on data security, where the data field values can only be accessed by the methods that define it.
Create Date
:
Sunday, September 02, 2007
Asked At
:
None
Job Positions
:
None
Click here to improve the Interview Question, Answer and other fields.
Comments (0) :
Goto add your comment on the Question 


Check out our newest job listings!

Post a Job! $49 for 60 days



Suggestions & Comments




Share Your Interview Questions
Ask Interview Questions
View Unanswered Questions

















Advertise on this site