Programming MCQS - QUESTION DETAILS

What is the purpose of the 'finalize' method in Java?
A. Garbage collection
B. Exception handling
C. Object cloning
D. Method overloading

'finalize' is called during garbage collection in Java.

Similar Questions

How do you define a constant pointer to a constant integer in C?






What is the purpose of the 'enum' keyword in C?






How do you declare a structure in C?






How do you use the 'const' keyword with a pointer in C?






What is the purpose of the 'fflush' function in C?






What is the purpose of the 'strcmp' function in C?






Which of the following is not a bitwise operator in C?






What is the output of printf("%d", 1 == 1 ? 10 : 20);?






What is the purpose of the 'strtok' function in C?






How do you declare a function pointer in C?