A considerate constructor:

1. is protected;

2. only asks for arguments that are absolutely required to instantiate the object;

3. only runs code that must absolutely run to instantiate the object;

4. delegates the rest to setter and init methods.

Reply to this note

Please Login to reply.

Discussion

No replies yet.