Mymind infotech interview question

Constructor and its types