When use Braces block in Java like this? -
please see above picture (from wrox beginning spring book)
i have question { } ?
is constructor ? functional block ? block of "accountsmap" ? ?
please explain feature in java ? name of feature ?
it's instance initializer block gets executed each time create instance of class, no matter constructor used. executed prior code of executed constructor. see jls 8.6 more details.
Comments
Post a Comment