what is polymorphism with example?types of polymorphism?
Answer Posted / vignesh,c
poly means many morph means shapes so, one function taking
many shapes ,for ex: take the function name as add,
by passing different sets of arguments it can add 2no.s,3
numbers etc....
there are two types of polymorphism namely,
runtime polymorphism,compile time polymorphism,
compile time Polymorphism means function overloading,
run time polymorphism means virtual functions.
Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
what is meant by HQL?
Which is the class in java?
How can we run a java program without making any object?
What is the difference in between cpp and java? Can u explain in detail?
How many ways can we create the string object?
What is canonical name in java?
How much is a java license?
What is class forname?
What is difference between pointer and reference?
how we can create packages in java?
Can list have duplicates in java?
Where can i get Latest SUN Certification Dumps and what are the Sun Certification Codes that are available, Im new to JAVA, so please gimme info as i need to write J2EE - Core Java Certification
Explain how to convert any java object into byte array.
Which is better stringbuffer or stringbuilder?
What a static class can contains?