Question 2-1
What is the purpose of a constructor method?
Solution
Its purpose is to initialize the instance variables of a newly allocated object.
Back to Review for Quiz 2