global variables in java,
March 5, 2008 at 1:42 PM
So these variables are like "global variables which are same for all objects of the class". These variables take default values if not initialized. .............................................. this taken from [Variables in java ,slno 2] .............................................. it is right to say that "Global variables have the same values for different Objects of the same class;if they are declared as a static. But in non-static mode, each object of the class has own set of values.
View All Comments
| View Tutorial