InterviewSolution
Saved Bookmarks
| 1. |
Does every class require a constructor? |
|
Answer» Yes obviously EVERY class does require a constructor. The main function of the constructor is to INITIALIZE an OBJECT which is known as the object initialization PROCESS. Thus every class requires the need for the presence of a constructor in it. |
|