Explain the concept of polymorphism with examples?
Answer Posted / dhawal
polymorphisum-polymorphisum means one name many
forms,basically polymorphisum is base class pointer which
can access derive class members
real time example:-
on street signal if red signal turn on all type of vehicals
are stops means on single action multiple tasks are done.
compile time polymorphisum-overloading.
run time polymorphisum-overriding.
| Is This Answer Correct ? | 16 Yes | 0 No |
Post New Answer View All Answers
why using interface interface ?
Which is dependent variable?
What is the difference between Java Program Constructor and Java Program Method, What is the purpose of Java Program constructor Please Explain it Breafily?
What are the 5 types of research methods?
What is java util function?
Is {a, n, d} a palindrome? If you are given a random string, is it a palindrome or not?
whatis Home interface and Remoteinterface? with example?
What is codebase?
What are variable names?
Is a method a procedure?
What are the advantages of defining packages in java?
Are arrays immutable in java?
What are triggers in DB? Explain their types. How do they work?
What is flag in python?
what is synchronization and why is it important? : Java thread