Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is polymorphism? Explain with an example.

Answers were Sorted based on User's Feedback



What is polymorphism? Explain with an example...

Answer / santosh

Polymorphism is one of the important feature of OOP's. It
consist of 2 words i.e., 'Poly' which stands for many
and 'Morphism' stands for forms.

We can divide the polymorphism into 2 types.
1. Static polymorphism
2. Dynamic polymorphism

Static polymorphism:- In this the binding is taken place in
compile time. The different types of static polymorphism
are:-
a) Function Overloading
b) Operator Overloading

Dynamic polymorphism:- In this the binding that takes place
at run-time. The difference types of dynamic polymorphism
are:-
a) Virtual function
b) Abstract class

Is This Answer Correct ?    272 Yes 22 No

What is polymorphism? Explain with an example...

Answer / khadeer.k

polymorphism is one of the pillars of oops.
polymorphism in latin word which describes 'poly' means many
'morphs' means forms.
polymorphism has concept like function overloading...

Is This Answer Correct ?    287 Yes 91 No

What is polymorphism? Explain with an example...

Answer / p suresh kumar

Single interface & multiple method is called polymorphism.
Ex:
Function overloading (Static polymorphism / early binding).
Function overriding (dynamic polymorphism / late binding).

Is This Answer Correct ?    166 Yes 54 No

What is polymorphism? Explain with an example...

Answer / pavan raj

polymorphism means the ability to take more than one form.
This is something similar to a word having several different
meanings depending on the context.

Is This Answer Correct ?    121 Yes 27 No

What is polymorphism? Explain with an example...

Answer / amol shevkari

Polymorphism is an concept of OOPS.
Polymorphism allows a client to treat different objects in
the same way even if they were created from different
classes and exhibit different behaviors.
Ex.Traffic Signal->>>>Whenever red signal is glow,the all
different type of braking systems works.i.e.all vehicles of
braking system but there implementation is different and
purpose is same.

Is This Answer Correct ?    130 Yes 44 No

What is polymorphism? Explain with an example...

Answer / saranya

it is the important concept of OOP, from the greek concept
'poly' means many 'morphism' form ,from this the definition
is "the ability to take more than one form"
EXAMPLE:
method overloading(static polymorphism...early binding)
method overriding(dynamic polymorphism...late binding)

Is This Answer Correct ?    76 Yes 25 No

What is polymorphism? Explain with an example...

Answer / sanish joseph

A single entity existing in difernt forms simltniosly s cald
polymorfsm.eg ovrloadn and ovrridin

Is This Answer Correct ?    80 Yes 39 No

What is polymorphism? Explain with an example...

Answer / syed ahsen raza ali

polymorphism basicilly provides multiple forms to a single
function or functionality to occure.in c++(oop) context i
can quote that using 0ne functionality if we could be able
to have multiple functionalities working only on a single
object,then we can say that we had done multiple tasks by
using one operation.

thanks.

Is This Answer Correct ?    47 Yes 14 No

What is polymorphism? Explain with an example...

Answer / anil sobti

polymorphism means same function or function name but
different behavior.

Is This Answer Correct ?    55 Yes 27 No

What is polymorphism? Explain with an example...

Answer / amrutha

In greek Poly means 'many' and 'morph' means form.
the best example for polymorphism is Chameleon which exbits
different colors based on situation.

Is This Answer Correct ?    50 Yes 29 No

Post New Answer

More OOPS Interview Questions

This program numbers the lines found in a text file. Write a program that reads text from a file and outputs each line preceded by a line number. Print the line number right-adjusted in a field of 3 spaces. Follow the line number with a colon, then one space, then the text of the line. You should get a character at a time and write code to ignore leading blanks on each line. You may assume that the lines are short enough to fit within a line on the screen. Otherwise, allow default printer or screen output behavior if the line is too long (i.e., wrap or truncate). A somewhat harder version determines the number of spaces needed in the field for the line numbers by counting lines before processing the lines of the file. This version of the program should insert a new line after the last complete word that will fit within a 72-character line.

0 Answers  


How do you use inheritance in unity?

0 Answers  


In which Scenario you will go for Interface or Abstract Class?

1 Answers   InfoAxon Technologies,


What are the 5 oop principles?

0 Answers  


What is DeadlyDiamondDeathProblem ?

1 Answers  


What are the advantanges of modularity

2 Answers  


Advantage and disadvantage of routing in telecom sector

0 Answers  


What is an interface in oop?

0 Answers  


Write A Program using Single and Multiple Inheritance.

1 Answers  


• What are the desirable attributes for memory managment?

0 Answers  


What is the difference between procedural programming and oops?

0 Answers  


how to find no of instances of an object in .NET?

1 Answers   Infosys,


Categories