Xoriant interview question

1.OOP. 2.Implement all types of constructor. 3.Asked to write a Query.