Deloitte Interview Question

What do you mean by constructor in Java? He gave me two coding questions to solve, both were easy. One was pattern.