Infosys interview question

Constucter, opps concepts in java