InterviewSolution
Saved Bookmarks
| 1. |
DEFINE CONSTRUCTORS?????? |
|
Answer» tion:In class-based OBJECT-oriented programming, a constructor (abbreviation: ctor) is a special type of subroutine called to CREATE an object. ... A properly written constructor leaves the resulting object in a valid STATE. Immutable objects must be INITIALIZED in a constructor. |
|