This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Found this on a mock exam..... If a Runtime Exception is thrown in the finalize method - 1. The running application crashes. 2. The exception is simply ignored and the object is garbage collected. 3. The exception is simply ignored, but the object is not garbage collected. 4. The Exception causes the JVM to crash. The answer given is 2. But I thought it would be 4. The JVM exits when it encounters a call to System.exit(0), right??? The same would hold true if System.exit() was coded in the finalize() method. Then why isin't 4. true??? Thanks, Shafeeq