posted 22 years ago
They are the same. The reason that initializer blocks is allowed is to allow the existance of anonymous classes. They have no name, therefore they have no matching constructor. So they MUST do all the same stuff in an initializer block.
"JavaRanch, where the deer and the Certified play" - David O'Meara