How are optional parameters defined?

A method that contains optional parameters does not force to pass arguments at calling time. It means we call method without passing the arguments . The optional parameter contains a default value in function definition. If we do not pass optional argument value at calling time, the default value is used.

Sizin İçin Seçtik  Yoğun bakımda uyutulan hasta kaç gün tutulur?

Leave a Reply

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

How are optional parameters defined?

A method that contains optional parameters does not force to pass arguments at calling time. It means we call method without passing the arguments . The optional parameter contains a default value in function definition. If we do not pass optional argument value at calling time, the default value is used.

Sizin İçin Seçtik  Yoğun bakımda uyutulan hasta kaç gün tutulur?

Leave a Reply

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