Suja Juice interview question

what is constructor and its types