Constructor interview question

Only basic stuff to measure your basic knowledge of programming.