i want to know that , is finish();
call effect static
variables.?
does static
variables is affected by GC.
static int displayChart = 0;
code of declaration.
i want to know that , is finish();
call effect static
variables.?
does static
variables is affected by GC.
static int displayChart = 0;
code of declaration.
static
variable belongs to class
not the object
, and finish()
or garbage collector affects object
, therefore it got no influence on static
variables. Please note that class
does not equals object
but object
is instance of class
.
No there is no effect on static variable by calling finish or gc. You can access those variable from other activity for the proof