And if they work out, in what case?
|
1 answer
Instance initializers will always work when creating an instance of a class that inherits the abstract :
This is not an example of what could be instantiated, for example.
Transfer:
An instance of an inheritor of an abstract class that is not abstract can be created, which will result in the execution of the abstract class constructor and instance field initializers for this class.
The procedure for creating a new instance is described in JLS 12.5 , or in this question .
|