

- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
What is the difference between static and dynamic polymorphism?
Polymorphism is the ability of an object to take on many forms. The most common use of polymorphism in OOP occurs when a parent class reference is used to refer to a child class object. Method overriding by a subclass is termed as runtime polymorphism. JVM determines the method to be executed at runtime instead of compile time. Whereas method overloading in the same class where parameters are different is an example of static polymorphism as the compiler knows at compile time which method is to be executed.
- Related Questions & Answers
- Difference between Static and Dynamic Testing
- Difference Between Static and Dynamic Binding
- Difference between Static and Dynamic Web Pages
- Difference between Static Routing and Dynamic Routing
- Difference between Static SQL and Dynamic SQL
- What is the difference between compile time polymorphism and runtime polymorphism in java?
- What is Dynamic Polymorphism in C#?
- Explain the difference between static and dynamic binding in Java.
- Difference between Static IP Address and Dynamic IP Address
- Difference between Static binding and dynamic binding in Java
- Difference between compile-time polymorphism and runtime polymorphism
- Difference Between Inheritance and Polymorphism
- What is a static polymorphism in C#?
- What is runtime polymorphism or dynamic method overloading?
- What is the difference between VAR and DYNAMIC keywords in C#?
Advertisements