Explain the concept of polymorphism with examples?

Answer Posted / ravikiran(aptech mumbai)

polymorphism is utilizing the same interface for multiple
purposes
ex:-overloading,overriding

Is This Answer Correct ?    7 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What causes memory leak in java?

452


Can we override tostring method in java?

506


Does garbage collection occur in permanent generation space in jvm?

576


What is the purpose of declaring a variable as final?

459


what is server side caching?

1578






How many types of memory areas are allocated by JVM in java?

571


Why we cannot override static method?

536


Which java collection does not allow null?

692


What is collection class in java?

515


Write a program to find the whether a number is an Armstrong number or not?

555


Define interface in java?

583


Write a function for palindrome and factorial and explain?

628


What is the maximum size of a string in java?

524


What about static nested classes in java?

567


What is string example?

574