Java final and finalize
Java has keywords final and finalize.
(a) Describe one situation in which you would want to mark a class final, and another in which you would want a final method but not a final class.
(b) Describe the similarity and differences between Java final and the C++ use of nonvirtual in similar situations.
(c) Why is Java finalize (the other keyword!) auseful feature?