Oops - Explain the term Polymorphism - Feb 26,
2010 at 21:22 pm by Rajmeet Ghai
Explain the term Polymorphism.
Polymorphism is the ability to exist in different forms. OOP allows objects
belonging to different data types to respond to calls of methods of the same
name, each one according to an appropriate type-specific behavior.
Oops - Explain the term Polymorphism - Jan 12,
2009 at 21:14 PM by Vidya Sagar
Explain the term Polymorphism.
Polymorphism defines the
functionality of difference with a single name / interface. Different types of
actions are defined by using one entity / method, which saves the time in
investing the name of different method names. The action is determined by the
common nature of the action. For example, adding integers and floating point
values. The action is common. One interface, and multiple methods is the
concept of polymorphism
Oops - Explain the term
Polymorphism - Jan 27, 2009 at 22:10 pm by Nishant Kumar
Explain the term Polymorphism.
Polymorphism means the ability to take more than one form. An operation may
exhibit different behaviors in different instances. The behavior depends on the
data types used in the operation.
Oops - advantages of polymorphism and dynamic
binding - Jan 24, 2010 at 11:14 AM by Vidya Sagar
What are advantages of polymorphism and dynamic binding?
Advantages of polymorphism:
– Same interface could be used for creating methods with different
implementations
– Reduces the volume of work in terms of distinguishing and handling various
objects
– Supports building extensible systems
– Complete implementation can be replaced by using same method signatures
Advantages of dynamic binding:
- Compiling time is much lower and allows faster development
- The current state of the program is better known to the runtime linker, so
that the memory and its resources can easily be reordered
- The addresses symbols which may not be known at compile time, can be resolved
by the runtime linker. This process is ideal for networked systems
- Common resources could well be shared instead of duplicating them in each
time of execution.
|