Y
Hacker News
new
|
ask
|
show
|
jobs
by
samuel
5954 days ago
No, it isn't. The first { encloses the class and the second encloses the "anonymous constructor" or whatever is called. It's code executed at object creation, even before the "named" constructor.