What is the use of empty constructor?

Empty constructor just gives you an instance of that object . You might use setters on it to set necessary properties.

Sizin İçin Seçtik  Can C++ class have no constructor?

Leave a Reply

Your email address will not be published. Required fields are marked *