KyaPoocha.com

Huge Collection of Interview Questions


Are there any global variables in Java, which can be accessed by other part of your program? 

No, it is not the main method in which you define variables. Global variables is not possible because concept of encapsulation is eliminated here.



If you liked this question/asnwer, make sure you
Subscribe to KyaPoocha.com RSS feed!


BOOKMARK THIS : BlinkList | del.icio.us | Digg it | Furl | reddit | StumbleUpon | Yahoo MyWeb |