Sharing Code Between Constructors #airhacks #java #short

preview_player
Показать описание

Рекомендации по теме
Комментарии
Автор

Wow... I wasn't aware of that thank you. Can you also show a use case?

alontalmor
Автор

Nice one. Since which version we can use this non static initializer?

ederluisjorge
Автор

Great Job mr Adam. I added a static initializer an the exection sequence was static initializer first, shared block second then default and overloaded constructors last respectively. Could you please explain a use case?

bobyrasta