Explain the concept of polymorphism with examples?

Answer Posted / nazim virani

Polymorphism is accomplished when different component or
classes behave differently on same interface

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between comparison done by equals method and == operator?

551


Can I learn java in 3 months?

512


Can we change the value of static variable?

468


How do you ensure that n threads can access n resources without deadlock?

779


How do I enable java in safari?

520






What is java full form?

504


What are the two categories of data types in the java programming language?

484


Give differences between Quicksort & Mergesort. When should these sorts be used and what is their running time?

551


What is executor memory?

477


Explain spliterator in java8?

579


Explain about varargs in java?

554


What are java threads?

594


Write a program to check for a prime number in java?

531


How large is a boolean?

537


What is not object oriented programming?

480