If we have a code snippet like:public class Finalizer{    static List list = new ArrayList();    public void finalize( ){        System.out.println(hello);    }}What is so special about static here that affects the call to finalize ( ).Is it because that static members have lifecycle of whole program so a variable referring to the Finalizer object won't be out of scope because of static unless we say null on it?
Static members and finalize( )
java;garbage collection