Can constructor be inherited C++?

Cpp Primer Plus says, Constructors are different from other class methods in that they create new objects, whereas other methods are invoked by existing objects. This is one reason constructors aren’t inherited .

Sizin İçin Seçtik  Sağlıkta kalite Akreditasyon ve Çalışma Hakları Dairesi Başkanlığı hangi kurum bünyesinde faaliyet yürütür?

Leave a Reply

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