What is the function of a constructor in Java?
جاوا میں کنسٹرکٹر کا کیا کام ہے؟
- It is used to call other methods.
- It initializes an object when it is created.Answer
- It is used to delete objects.
- None of these.
Source: FDE EST Computer Science — 16 Mar 2025found on TestPoint
Explanation coming soon.
