In "Thinking in Java" chapter 4 question 11 and 12 are as follows:
11. Create a class with a finalize( ) method that prints a message. In main( ), create an object of your class. Explain the behavior of your program. Comment
12. Modify Exercise 11 so that your finalize( ) will always be called. Comment
I thought we can not be certain that finalize will be
called. It is up to JVM even after System.gc call