MinTech Agency interview question

Q:what's the benefit of using the constructor in java ?