Search within OCPJP
Register / Login
this forum made possible by our volunteer staff, including ...
Stephan van Hulst
Programmer Certification (OCPJP)
Doubt in K&B SCJP 5: Initialization Blocks
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
On page 227 of my Book (sorry but I didn't find the revision, I assume it's the newest) there's a typo. I couldn't find it in the errata list...
The text states that if an error occurs in a static initialization block a ExceptionInIninitalizationError will be thrown.. That would be a java.lang.ExceptionInInitializerError, right?
Cheers and wish me luck in the exam which I'll sit the day after tomorrow :-)
The problems of the world fade way as you eat a piece of pie. This tiny ad has never known problems:
the value of filler advertising in 2021
Boost this thread!
how to set action event
code called before constructor
difference between Instance Initialization and Initialization at the point of Definition
Read contextPath during initialization
For loop syntax