Question: 1 Moving to another question will save this response.Question 7 What is the purpose of a constructor? To initialize instance variables of an object None
Moving to another question will save this response.Question What is the purpose of a constructor? To initialize instance variables of an object None of these questions are correct To instantiate an object To declare an object of the class
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
