answersLogoWhite

0


Best Answer

how dose polymorphism promote extebsibility

C++ virtual function is a member function of a class, whose functionality can be over-ridden in its derived classes. The whole function body can be replaced with a new set of implementation in the derived class.Through this u can be able to promote extensibility in your program by using Virtual function. Very simple concept.

shahzad.dar@superior.edu.pk , shahzad.dar@gmail.com

Lecturer in Superior University ,Lahore

User Avatar

Wiki User

13y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How does polymorphism promote extensibility?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

This is the property of muscle that gives it the ability to stretch without damage?

extensibility


Polymorphism in coelentrates?

polymorphism in coelentrates


What is polymorphism and its types?

Polymorphism means multiple form of a function, variable or object. In Computer Science, polymorphism is a programming language feature that allows values of different data types to be handles using a common interface. There are three types : Ad-Hoc Polymosphism, Parametric Polymorphism, Subtype/Inclusion Polymorphism. Source: Wikipedia.


What kind of drugs commonly has polymorphism?

Polymorphism is common with barbiturates, steroids, and sulphonamides.


Is polymorphism exist between prokaryotes?

Yes, polymorphism exists between the prokaryotes.


What is Difference between dynamic polymorphism and static polymorphism with example?

Static polymorphism is used the concept of early binding or we can say compile time binding where as dynamic polymorphism used the concept of late binding or run time binding.


What is the property of muscle that allows it to stretch?

extensibility


How can one detect polymorphism by genetic marker?

One can detect polymorphism by genetic marker using single-nucleotide polymorphism which is able to even tell mutation of a gene.


How do you ensure c plus plus extensibility?

Extensibility primarily relates to the language itself and is ultimately decided by the C++ standards committee members. Programmers can make proposals to the committee, but they have no influence as such. Extensibility with regards your own programs is entirely down to your design team. The language is immaterial on this regard, it's up to you to decide which standards your programs will adopt, whether extensibility is enabled through COM, NET, scripts or some user-defined/proprietary mechanism. Note that extensibility is not the same as scalability, which is probably what you were really asking.


Define compile time polymorphism with short examples?

compiler can decide which form of the object should be invoked during compile time.this type of polymorphism is know as compile time polymorphism


What is drug polymorphism?

Drug polymorphism is a customerÕs variation in response to a drug is by gender, body composition, size and age. The first polymorphism was first labelled over 40 years ago.


Is Interfaces in Java a kind of polymorphism?

No. Interfaces in Java are a construct to get polymorphism ( subtype polymorphism ) working in Java, but they are not a "kind" of polymorphism. In polymorphism happens when two objects respond to the same message ( method call ) in different way ( hence poly -> many, morphism -> way or shape : polymorphism -> many ways). In Java to be able to send the same message to two different objects you have to either inherit the same parent, or implement the same interface.