what is polymorphism?
Answers were Sorted based on User's Feedback
Answer / durgasri
In object-oriented programming, polymorphism (from the
Greek meaning "having multiple forms") is the
characteristic of being able to assign a different meaning
or usage to something in different contexts - specifically,
to allow an entity such as a variable, a function, or an
object to have more than one form.
| Is This Answer Correct ? | 3 Yes | 2 No |
Answer / she
Polymorphism is the features that allow one interface to be
used for general class actions
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / sudeep
poly mean MANY and morphism mean FORMS... so polymorphism is the ability to allow a function to exist in different forms.
| Is This Answer Correct ? | 1 Yes | 0 No |
What is empty string literal in java?
can abstract class have constructor how can you achive this ?
What is difference between module and function?
What is collections framework?
what is deadlock in threads? with example
Can we override constructors?
What are the four pillars of java?
class A{ some variables; public void a()throws Excepion1,Exception2{....} } class B extends A{ variables... public void a()throws E2,E3{.....} } Qns: here override of methods occurs or not,ore else wil give any compilation error or run properly..plz tell me briefly whts happening with the above codes....
Explain the difference between arraylist and linkedlist in java?
Q) I have a ArrayList object, in that object i have added 5 integer values, 5 float values, 5 string values. Now question is how can delete particular type of data ( i.e all int values or all float values or string values) in that list object at a time?
What is actual difference between statement,prepared statement and callable statement and when we have to use it? pls post a answer with code and clear explanation. thanks
Can you have an inner class inside a method and what variables can you access?