Describe one situation in which you would want to mark a


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?

Request for Solution File

Ask an Expert for Answer!!
JAVA Programming: Describe one situation in which you would want to mark a
Reference No:- TGS01269978

Expected delivery within 24 Hours