What is constructor overloading class 10?

A constructor used to initialize the instance variables of an object by copying the initial values of the instance variables from another object is known as Copy Constructor. The process of using a number of constructors with the same name but different types of parameters is known as Constructor overloading.

Sizin İçin Seçtik  How many types are there in constructor?

Leave a Reply

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