✏️ Explanatory Question

State two features of a constructor.

👁 102 Views
📘 Detailed Answer
🟢 Easy
💡

Answer with Explanation

Features:

  1. Automatic Invocation: A constructor is automatically called when an object is created.
  2. No Return Type: A constructor does not have a return type, not even void.