Home / Questions / Write two characteristics of a constructor.
Explanatory Question

Write two characteristics of a constructor.

👁 68 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

Two characteristics of a constructor are:

  1. A constructor has the same name as its class.
  2. A constructor does not have a return type.