Witscale Test Center

3.8 Constructors and modifiers


3.8 Constructors and modifiers

Constructors are special methods devoted to object creation. Only access modifiers are applicable to constructors. You cannot apply any other modifier to the constructors. Since constructors have little to do with behavior implementation, the implementation-specific method modifiers such as abstract, static, final, native or synchronized are not relevant to constructors.