Hi. A constructor is basically the formation of your object that you created. It is a method with no return type that can be used for multiple purposes, the most common being setting the parameters of the object you created.
For example, if you had a square object class with two ints for x and y coordinates.
To use a constructor with the object's class you would type... (assuming the class name is "Square.java")
public Square(int x, int y){
}
Now this constructor alone does nothing, but by typing...
public Square(int x, int y){
this.x = x;
this.y = y;
}
We can use any values we set while creating an instance of the Square object, for the x and y coordinates of that particular object.