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.
I saw 'checked/unchecked warning' on some JDK5.0 tutorial, but I'm not sure what they mean actually? Can someone tell me what is the difference between them? Is it like 'checked/unchecked' in Exception? Will this be covered in SCJP 5.0?
I have read that article. But it does not say much about the difference between checked and unchecked warning, and don't say if warning related questions would be involvoed in the exam. Please help. [ July 13, 2005: Message edited by: reubin nibuer ]
Joined: May 12, 2005
I edited my posting title, and help someone could answer me. Thanks
Actually you will need to know the difference between checked and unchecked exceptions.
What that means is that any class that extends RuntimeException or Error are unchecked Exceptions, which means the compiler does not require you to either catch or declare throwing that exception.
If the Exception is a subclass of Exception, but not RuntimeException then they are checked exceptions. Which means you either have to catch the Exception or declare that the method throws the Exception.