Home / Questions / State two features of a constructor.
Explanatory Question

State two features of a constructor.

👁 102 Views
📘 Detailed Answer
🕒 Easy to Read
Read the answer carefully and go through the related questions on the right side to improve your understanding of this topic.

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.