what is polymorphism?

Answers were Sorted based on User's Feedback



what is polymorphism?..

Answer / rupinder

polymorphism is a best feature of object oriented
programming, polymorphism mean one name many forms. 'poly'
means one and 'morph' mean many.

Is This Answer Correct ?    3 Yes 0 No

what is polymorphism?..

Answer / haseena banu

Polymorphism is not the same as method overloading or method overriding. Polymorphism is only concerned with the application of specific implementations to an interface or a more generic base class. Method overloading refers to methods that have the same name but different signatures inside the same class. Method overriding is where a subclass replaces the implementation of one or more of its parent's methods. Neither method overloading nor method overriding are by themselves implementations of polymorphism

Is This Answer Correct ?    3 Yes 3 No

what is polymorphism?..

Answer / vijay pratap

Polymorphism is most feature of the object oriented
programming language.It means One method hendled the many
data types.

like ,one person do the many work.

Is This Answer Correct ?    0 Yes 0 No

what is polymorphism?..

Answer / jo

polymorphism is a programming language feature that allows
values of different data types to be handled using a
uniform interface.

Is This Answer Correct ?    6 Yes 7 No

Post New Answer

More OOPS Interview Questions

Objective The objective of this problem is to test the understanding of Object-Oriented Programming (OOP) concepts, in particular, on encapsulation. Problem Description Create a program for managing customer’s bank accounts. A bank customer can do the following operations: 1. Create a new bank account with an initial balance. 2. Deposit money into his/her account. 3. Withdraw money from his/her account. For this operation, you need to output “Transaction successful” if the intended amount of money can be withdrawn, otherwise output “Transaction unsuccessful” and no money will be withdrawn from his/her account. Input The input contains several operations and is terminated by “0”. The operations will be “Create name amount”, “Deposit name amount”, or “Withdraw name amount”, where name is the customer’s name and amount is an integer indicating the amount of money. There will be at most 100 bank accounts and they are all created on the first month when the bank is opening. You may assume that all account holders have unique names and the names consist of only a single word. Output The output contains the transaction result of withdrawal operations and the final balance of all customers after some withdrawal and deposit operations (same order as the input). Sample Input Create Billy 2500 Create Charlie 1000 Create John 100 Withdraw Charlie 500 Deposit John 899 Withdraw Charlie 1000 0

0 Answers  


What are callback functions in c++

1 Answers   SoftTech,


what are abstract classes and how they impliment , with example

2 Answers  


How to Increment the value of the empid E001 for each and every employee by using the programe?

1 Answers   Accenture,


What is the purpose of polymorphism?

0 Answers  


Which is the parameter that is added to every non-static member function when it is called?

3 Answers   Accenture,


What is methods in oop?

0 Answers  


In the following declaration of main, "int main(int argc, char *argv[])", to what does argv[0] usually correspond? 1) The first argument passed into the program 2) The program name 3) You can't define main like that

6 Answers  


What is the difference between abstraction and polymorphism?

0 Answers  


Can we have a private constructor ?

12 Answers   HSBC, Ness Technologies, TCS, Wipro,


what are the different types of qualifier in java?

0 Answers   TCS,


difference between abstraction and encapsulation with progarammatic eg. hi,just recently i went for an interview .The interviewer asked what is the difference between abstraction and encapsulation with programmatic eg. I gave the answer as encapsulation mean hiding the relevant data which is not useful for the user, eg a electric fan .hiding the information how the electricity is converted into machanical energy. abtraction showing only the relevant data to the user eg electric fan. it look ,its color ,it design etc only relevant data. Then the interviewer asked me, give me some programmic eg .I Said Let assume a web form having control like textbox,button etc. The user can view textbox,button etc this is the eg of abstraction and when the user click on the button how he is redirected is not known by the user is the eg of the encapsulation. Am I Correct .was the answer given by me is perfect .now i am planing to go for an another interview should i give the same answer.IF not please suggest me a better answer.with some good eg Please help

1 Answers  


Categories