Static & Private Class Fields
What feature is demonstrated here?
class Example {
static {
try {
this.config = loadConfiguration();
} catch {
this.config = defaultConfig;
}
}
}
class Example {
static {
try {
this.config = loadConfiguration();
} catch {
this.config = defaultConfig;
}
}
}