Register now or log in to join your professional community.
As Ervin said, Constructor is called to create an object, you can define your own constructors,
If you do not define any constructors, java will create a default constructor, and that will be called when object is created.