What is meant by constructor?

what is meant by a constructor?

The constructor is the block of code starting with public Question(int textResId, boolean answerTrue) on line 8 and ending with the closing brace on line 11. Later, we will call this constructor with the new keyword to construct a Question object.

awesome, thanks so much