What is parameterized constructor in OOP?

Constructors that can take at least one argument are termed as parameterized constructors. When an object is declared in a parameterized constructor, the initial values have to be passed as arguments to the constructor function.

Sizin İçin Seçtik  What are the CB frequencies?

Leave a Reply

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