Constructor (object-oriented programming): Difference between revisions

Content deleted Content added
m Reverting possible vandalism by 185.192.230.85 to version by Chmielo13. Report False Positive? Thanks, ClueBot NG. (3361592) (Bot)
Line 108:
* Constructors cannot be directly invoked (the keyword “<code>new</code>” invokes them).
* Constructors cannot be ''synchronized'', ''final'', ''abstract'', ''native'', or ''static''.
* it should not contain modifiers
 
Java constructors perform the following tasks in the following order: