Answers

Question and Answer:

  Home  SunOne

⟩ What does a constructor does?

Constructor is a special type of function which is

available for every class.

Constructors can be used to create a object in different

forms.

Constructors can be used to execute a statements when

object is creating.

Constructors can be used to intialized the object

properties.

 139 views

More Questions for you: