+ 1
what is an example of polymorphism?
1. inner class 2. method overloading 3.method overriding 4. anonymous class
4 Answers
0
overload is example of polymorphism
and override is runtime polymorphism
0
Bank account can have many forms
Fixed deposits account, savings account, current account....
0
hello all... i got this question in my exam...so i can't pick two answers
- 1
They say:
Overloading is "compile time" polymorphism.
Overrideing is runtime polymorphism.
Both are polymorphism.