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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With