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.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
staticvariable belongs toclassnot theobject, andfinish()or garbage collector affectsobject, therefore it got no influence onstaticvariables. Please note thatclassdoes not equalsobjectbutobjectis instance ofclass.