hai raju,
this is ramesh u r asked question,
December 21, 2006 at 9:01 PM
hai raju, this is ramesh u r asked question is y java not provide global variables. do u know y java and c++ come in picture the main thing is data security.if u use glabal variables that means it is accesed through out but it spoils the encapsulation and datahiding concepts.the data should be accessed by the fun of that classes only