answersLogoWhite

0


Best Answer

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.

User Avatar

Wiki User

11y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

13y ago

run time ,, compile time polymorphism

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is polymorphism and its types?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Types of polymorphism in oops?

two types are compiletime and runtime polyymorphism


What is the name of two types of polymorphism in Phylum Coelentrata?

Egg and sperk


How can be different forms of polymorphism achieved?

Implicit Parametric PolymorphismSubtype PolymorphismExplicit Parametric Polymorphism


Can you have inheritance without polymorphism?

Yes. Inheritance and polymorphism are two different things. Inheritance is when the attributes and methods of a class are inherited by a deriving class that creates a more specialized type. Polymorphism is when two methods exist with the same name, differing only in argument types, or in class type. The former type, argument types, is an example of ad-hoc polymorphism that does not even require a class.


Polymorphism in coelentrates?

polymorphism in coelentrates


What is a polymorphs?

In computer science, polymorphism means allowing a single definition to be used with different types of data (specifically, different classes of objects). For instance, a polymorphic function definition can replace several type-specific ones, and a single polymorphic operator can act in expressions of various types. Many programming languages and paradigms implement some forms of polymorphism; for a popular example, see polymorphism in object-oriented programming. The concept of polymorphism applies to data types in addition to functions. A function that can evaluate to and be applied to values of different types is known as a polymorphic function. A data type that contains elements of different types is known as a polymorphic data type. There are two fundamentally different kinds of polymorphism, as first informally described by Christopher Strachey in 1967. If the range of actual types that can be used is finite and the combinations must be specified individually prior to use, it is called ad-hoc polymorphism. If all code is written without mention of any specific type and thus can be used transparently with any number of new types, it is called parametric polymorphism. In their formal treatment of the topic in 1985, Luca Cardelli and Peter Wegner later restricted the term parametric polymorphism to instances with type parameters, recognizing also other kinds of universal polymorphism. Programming using parametric polymorphism is called generic programming, particularly in the object-oriented community. Advocates of object-oriented programming often cite polymorphism as one of the major benefits of that paradigm over others. Advocates of functional programming reject this claim on the grounds that the notion of parametric polymorphism is so deeply ingrained in many statically typed functional programming languages that most programmers simply take it for granted. However, the rise in popularity of object-oriented programming languages did contribute greatly to awareness and use of polymorphism in the mainstream programming community.


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.


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.


Types of polymorphism in phylum coelenterata?

In phylum Cnidaria, the main type of polymorphism is known as polymorphism resulting in distinct forms with specialized functions. This includes the presence of individuals with different body shapes and functions within the same species, such as polyps for feeding and reproduction and medusae for dispersal and locomotion. Additionally, some species exhibit polymorphism in terms of feeding strategies, with some being autotrophic and others being heterotrophic.


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.