1.Give one or two examples of class clean-up operations that should not be delegated to a finalize() method? Explain.2.How would you implement in Java the equivalent of passing a function pointer in C/C++?3.What is a potential user-observable consequence of performing I/O tasks from within a Swing listener callback? What is a better alternative?4.What should be accounted for when updating swing components from an arbitrary thread?