What is meant by constructor?


#1

what is meant by a constructor?


#2

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.


#3

awesome, thanks so much