Java / Constructor
Can constructor perform other tasks instead of initialization?
Yes. In addition to initializing the state of an object, construct may initialize threads, invoke methods etc. Constructor exhibits behaviour as same as any Java method in terms of activities that it can perform.
More Related questions...