initializer

1 topic · 1 source

Technology› Programming

Java

A block defined at the outermost level of a class - similar to a method without a header. Initializer blocks are executed, in order, when an instance is created. They are executed before the constructor of the defining class, but after any super class constructor. They are one of the places in which blank final variables may be initialized.

Cite this definition

APA
MLA
Chicago