What is polymorphism? Explain with an example?
"Poly" means "many" and "morph" means "form". Polymorphism is the ability of an object (or reference) to assume (be replaced by) or become many different forms of object. Example: function overloading, function overriding, virtual functions. Another example can be a plus ‘+’ sign, used for adding two integers or for using it to concatenate two strings.
Showing Answers 1 - 14 of 14 Answers
- Effective test cases
- O2c, p2p, r2r
- Preparing salary sheet
- Internal combustion
- Object and relational view
- Copy data from pds to vsam
- Oracle DBA upgrade concepts
- Why neutral is not used in delta circuit?
- Entropy and enthalpy
- Remove duplicate stage
- Explain product based testing
- Horizontal and vertical clustering
- Single thread and multiple thread
- Hibernate datasource properties
- Adding interface to multiple inheritance in C++ language
- Etl testing insurance project
- A good tester vs. Good leader
- Manual testing backend process
- Real time claims processing
- Game of jack straws