Revature Interview Question

How to write a construct?